You can get table schema by CarbonTable.getCreateOrderColumn method. It will return the correct table schema.
"name,city,id,salary" is the order of column storage, it is not the table schema. ----- Best Regards David Cai -- Sent from: http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/