Skip to content

Commit

Permalink
fix schema nullability for information_schema schema (#2804)
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Jun 28, 2022
1 parent c8de85e commit ca23fb4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions datafusion/core/src/catalog/information_schema.rs
Expand Up @@ -454,16 +454,16 @@ impl From<InformationSchemaColumnsBuilder> for MemTable {
Field::new("table_name", DataType::Utf8, false),
Field::new("column_name", DataType::Utf8, false),
Field::new("ordinal_position", DataType::UInt64, false),
Field::new("column_default", DataType::Utf8, false),
Field::new("column_default", DataType::Utf8, true),
Field::new("is_nullable", DataType::Utf8, false),
Field::new("data_type", DataType::Utf8, false),
Field::new("character_maximum_length", DataType::UInt64, false),
Field::new("character_octet_length", DataType::UInt64, false),
Field::new("numeric_precision", DataType::UInt64, false),
Field::new("numeric_precision_radix", DataType::UInt64, false),
Field::new("numeric_scale", DataType::UInt64, false),
Field::new("datetime_precision", DataType::UInt64, false),
Field::new("interval_type", DataType::Utf8, false),
Field::new("character_maximum_length", DataType::UInt64, true),
Field::new("character_octet_length", DataType::UInt64, true),
Field::new("numeric_precision", DataType::UInt64, true),
Field::new("numeric_precision_radix", DataType::UInt64, true),
Field::new("numeric_scale", DataType::UInt64, true),
Field::new("datetime_precision", DataType::UInt64, true),
Field::new("interval_type", DataType::Utf8, true),
]);

let InformationSchemaColumnsBuilder {
Expand Down

0 comments on commit ca23fb4

Please sign in to comment.