paulheg opened a new issue, #86: URL: https://github.com/apache/spark-connect-go/issues/86
Hi, I just noticed that `FieldNames()` iterates over a `map` and therefore does not return the columns in order every time. This creates a mismatch between `Values()` and `FieldNames()`, where they appear in different orders. There is currently no way in getting the columns in the order they were specified in the query. This could be fixed by sorting the map entries in the `FieldNames()` call, or trough storing the column names additionally in an array. At least there should be a disclaimer to this! Best regards Paul -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
