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

jdbc postgresql & null JSONB fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.20.1
    • None
    • Storage - JDBC
    • None

    Description

      Using streamline, psql, sqlline via jdbc/postgres I can query a postgres table

      select instance_id, tags from aws_prd.aws_ec2_instance limit 1;
      
      instance_id  i-0xxx
      tags         {"Name": "talend-engine-01", ...}
       select instance_id, tags -> 'Name' from aws_dm_prd.aws_ec2_instance limit 1; 
       
      instance_id  i-0xxx 
      ?column?    "talend-engine-01"
      

       

      With drill command  line (drill-embeeded) I get null value for "tags" fields

      apache drill> select instance_id, tags from steampipe.aws_dm_prd.aws_ec2_instance limit 1;
      
      instance_id  i-0xxx
      tags         null

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            matteoredaelli Matteo Redaelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: