nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <christophe.mon...@post.ch>
Subject ExecuteSQL Avro schema: all fields are nullable
Date Thu, 13 Sep 2018 11:13:14 GMT
Hello 

Is there a reason why JdbcCommon#createSchema creates an Avro schema with nullable types for
all fields? 
Why not check with java.sql.ResultSetMetaData#isNullable ? 

https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.7.1/org.apache.nifi.processors.standard.ExecuteSQL/index.html

https://github.com/apache/nifi/blob/rel/nifi-1.7.1/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/JdbcCommon.java#L500

Regards, 
Chris

Mime
View raw message