Apache Drill
  1. Apache Drill
  2. DRILL-408

Select wrong column from JSON file returns null

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: None
    • Labels:
      None

      Description

      More for tracking and discussion than an actual bug in my opinion.

      0: jdbc:drill:schema=dfs> select wealth1 from dfs.`/user/root/employeeNestedObject.json`;
      ------------

      wealth1

      ------------

      null

      ------------
      1 row selected (0.105 seconds)

      Where column wealth1 does not exist.

        Activity

        Hide
        Jacques Nadeau added a comment -

        On purpose

        Show
        Jacques Nadeau added a comment - On purpose

          People

          • Assignee:
            Unassigned
            Reporter:
            Ramana Inukonda Nagaraj
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development