Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
csvstorage: columns are ordered by name when using columns/index=name #2476
Steps to Reproduce the Problem
sudo kdb mount `pwd`/test.csv system/tests/csv csvstorage header=colname,columns/index=name echo "b,a" > `kdb file system/tests/csv` echo "valb,vala" >> `kdb file system/tests/csv` kdb shell << HERE kdbGet system/tests/csv keySetName system/tests/csv/#2 ksAppendKey keySetName system/tests/csv/#2/a keySetString vala ksAppendKey keySetName system/tests/csv/#2/b keySetString valb ksAppendKey kdbSet system/tests/csv HERE
That I get the file:
csvstorage needs to remember where the columns were via metadata "order".