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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: Client - JDBC
    • Labels:
      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 Challapalli

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: