paul-rogers commented on code in PR #13777:
URL: https://github.com/apache/druid/pull/13777#discussion_r1105159319
##########
sql/src/main/java/org/apache/druid/sql/calcite/schema/InformationSchema.java:
##########
@@ -73,44 +73,65 @@ public class InformationSchema extends AbstractSchema
private static final String SCHEMATA_TABLE = "SCHEMATA";
private static final String TABLES_TABLE = "TABLES";
private static final String COLUMNS_TABLE = "COLUMNS";
- private static final RowSignature SCHEMATA_SIGNATURE = RowSignature
Review Comment:
@clintropolis, we can make the needed change now. The thing you cited
sounds like a Druid property, which means it applies to all columns? Or, is
there a way to do the SQL thing and set the nullability bit on each column?
That is, the other way to solve the issue is to say:
```java
RowSignature
.builder()
...
.add("ORDINAL_POSITION", ColumnType.BIGINT) // Non-nullable
...
.add("CHARACTER_MAXIMUM_LENGTH", ColumnType.BIGINT, true) // Nullable
```
Do we have the ability to do something like the above today?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]