Closed jnturton closed 4 years ago
Hi @DzamoNorton,
Thanks for your report. You are right, fixed.
PS: There is actually another problem with multiple sorted columns. Currently it only works when columns in sorted
option are listed in the same order as they are in the table DDL. It's fixed in the import branch which will be merged soon. Until then if this is an issue for you, i think i can fix this before merge.
Okay I got lucky then because the column ordering in my table DDL matches my table sort ordering. Do not worry about bringing the fix in ahead of the merge on my account.
When I specify multiple, space-separated columns, e.g.
sorted 'col1 col2 col3'
, they are not correctly tokenized and the entire string is taken to be a single column name. The following change fixes the problem for me.