Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
Description
git.commit.id.abbrev=98b208e
JSON File Used :
{ "a" : null, "b" : 1 } { "a" : 1, "b" : 1 }
Query : The order has changed in the below result
select * from `temp.json`;
+------------+------------+
| b | a |
+------------+------------+
| 1 | null |
| 1 | 1 |
+------------+------------+
However with the below dataset where the null field is in the second row drill preserves the order
{ "a" : 1, "b" : 1 } { "a" : null, "b" : 1 }
Query:
select * from `temp.json`;
+------------+------------+
| a | b |
+------------+------------+
| 1 | 1 |
| null | 1 |
+------------+------------+