ravinarayansingh commented on code in PR #8445: URL: https://github.com/apache/nifi/pull/8445#discussion_r1505237933
########## nifi-commons/nifi-record/src/main/java/org/apache/nifi/serialization/record/util/DataTypeUtils.java: ########## @@ -1918,6 +1918,7 @@ public static DataType getDataTypeFromSQLTypeValue(final int sqlType) { case Types.BIGINT: return RecordFieldType.BIGINT.getDataType(); case Types.BOOLEAN: + case Types.BIT: Review Comment: hi @Lehel44 and @mattyb149 Have a look on below sample table definition (Postgres14) CREATE TABLE test_table ( id int4 NOT NULL, active bool NULL, col_varbit varbit(2) NULL, col_bit bit(1) NULL, CONSTRAINT temp_market_cap_pkey PRIMARY KEY (id) ); | colName | postgresType | javaSqlType | finalType | |-------------|--------------|-------------|-----------| | id | int | 4 | INT | | active | bool | -7 | BOOLEAN | | col_bit | bit(1) | -7 | BOOLEAN | | col_varbit | varbit(2) | 1111 | STRING | So I believe that we are doing right ,let me know yours thought References: https://www.postgresql.org/message-id/Pine.BSO.4.61.0511231340310.14387%40leary.csoft.net -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org