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

JDBC : ResultSetMetaData.isNullable returns true even when the column is a required one

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Invalid
    • None
    • 1.1.0
    • Client - JDBC
    • None

    Description

      git.commit.id.abbrev=7b4c887

      I attached a parquet file in which all the columns are required

      /root/parquet-tools-1.5.1-SNAPSHOT/parquet-tools schema fewtypes.parquet
      message root {
        required int32 int_col;
        required int64 bigint_col;
        required int32 date_col (DATE);
        required int32 time_col (TIME);
        required int64 timestamp_col (TIMESTAMP);
        required binary interval_col (UTF8);
        required binary varchar_col (UTF8);
        required float float_col;
        required double double_col;
        required boolean bool_col;
      }
      

      However ResultSetMetaData.isNullable returns true for these columns.

      Let me know if you need anythig

      Attachments

        1. fewtypes.parquet
          2 kB
          Rahul Kumar Challapalli

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dsbos Daniel Barclay
            rkins Rahul Kumar Challapalli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment