Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-1418

Drill Tutorial join of Hive table and JSON file fails on Sandbox build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 0.5.0
    • None
    • Storage - Hive
    • None

    Description

      0: jdbc:drill:> use dfs.clicks;
      ----------------------+

      ok summary

      ----------------------+

      true Default schema changed to 'dfs.clicks'

      ----------------------+
      1 row selected (0.121 seconds)
      0: jdbc:drill:> select o.cust_id, o.order_total,t.trans_info.prod_id[0] from hive.orders as o, `clicks/clicks.json` t where o.cust_id=t.user_info.cust_id and t.trans_info.prod_id[0] is not null and o.order_total > (select avg(inord.order_total) from hive.orders inord where inord.state = o.state );
      Query failed: Failure while running fragment. Schema is currently null. You must call buildSchema(SelectionVectorMode) before this container can return a schema. [f4394fe6-d419-4196-ab84-2628f5541a51]

      Attachments

        Activity

          People

            Unassigned Unassigned
            brumsby Bob Rumsby
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: