dohongdayi opened a new pull request #332:
URL: https://github.com/apache/incubator-livy/pull/332


   ## What changes were proposed in this pull request?
   
   Currently the fields in table magic are sorted by field name by default, but 
in many scenarios, we want to preserve fields of table magic in query order, 
for example:
   
   `val result = spark.sql("select b, a from table")`
   `%table result`
   
   currently Livy responses json with fields in the order of "a", "b", but we 
want them in the order of "b", "a" which is consistent with the SQL
   
   ## How was this patch tested?
   
   existing tests & new tests in ScalaInterpreterSpec.
   


-- 
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]


Reply via email to