flux icon indicating copy to clipboard operation
flux copied to clipboard

Support stable column order

Open nathanielc opened this issue 7 years ago • 2 comments

We want the order of columns on a table to be stable. Meaning that the order only changes if it was explicitly requested.

To accomplish this:

  • Object types in the language need to be ordered, as defined by the order of keys in the object literal. What does this mean for objects that were not created as a literal?
  • The map function needs to use the order of the object literal. If mergeKey=true then all partition keys columns come first.
  • Should the group and sort functions reorder columns to be in sort order from left to right?

nathanielc avatar May 29 '18 22:05 nathanielc

Would love to see a way for us to order columns in a flux request.

Any ways for the flux request to order the columns as they were declared in a keep function?

SCHKN avatar Dec 14 '18 07:12 SCHKN

Using keep seems like a good idea for forcing an order when we otherwise would not know an order. Thanks!

nathanielc avatar Dec 14 '18 18:12 nathanielc

This issue has had no recent activity and will be closed soon.

github-actions[bot] avatar Dec 08 '24 02:12 github-actions[bot]