waitingkuo commented on code in PR #3455:
URL: https://github.com/apache/arrow-datafusion/pull/3455#discussion_r970106276
##########
datafusion/core/src/catalog/information_schema.rs:
##########
@@ -39,26 +41,32 @@ use super::{
schema::SchemaProvider,
};
+use crate::config::ConfigOptions;
+
const INFORMATION_SCHEMA: &str = "information_schema";
const TABLES: &str = "tables";
const VIEWS: &str = "views";
const COLUMNS: &str = "columns";
+const SETTINGS: &str = "settings";
Review Comment:
@alamb updated
```bash
❯ show tables;
+---------------+--------------------+-------------+------------+
| table_catalog | table_schema | table_name | table_type |
+---------------+--------------------+-------------+------------+
| datafusion | information_schema | tables | VIEW |
| datafusion | information_schema | views | VIEW |
| datafusion | information_schema | columns | VIEW |
| datafusion | information_schema | df_settings | VIEW |
+---------------+--------------------+-------------+------------+
4 rows in set. Query took 0.003 seconds.
❯ select * from information_schema.df_settings;
+-------------------------------------------------+---------+
| name | setting |
+-------------------------------------------------+---------+
| datafusion.execution.coalesce_batches | true |
| datafusion.execution.time_zone | UTC |
| datafusion.explain.physical_plan_only | false |
| datafusion.execution.coalesce_target_batch_size | 4096 |
| datafusion.execution.batch_size | 8192 |
| datafusion.optimizer.skip_failed_rules | true |
| datafusion.optimizer.filter_null_join_keys | false |
| datafusion.explain.logical_plan_only | false |
+-------------------------------------------------+---------+
8 rows in set. Query took 0.002 seconds.
```
--
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]