Vallishp opened a new pull request, #34384:
URL: https://github.com/apache/doris/pull/34384
## Proposed changes
Issue Number: close #32572
Support table_options in information_schema.
UT result:
mysql> select * from information_schema.table_options where
table_schema="test_table_options_db"\G
*************************** 1. row ***************************
TABLE_NAME: rangetable
TABLE_CATALOG: internal
TABLE_SCHEMA: test_table_options_db
DISTRIBUTE_KEY: user_id
DISTRIBUTE_TYPE: HASH
BUCKETS_NUM: 8
PARTITION_NUM: 3
PROPERTIES: min_load_replica_num = -1, data_sort.col_num = 6,
group_commit_interval_ms = 10000, data_sort.sort_type = LEXICAL,
is_being_synced = false, binlog.enable = false, binlog.ttl_seconds = 86400,
inverted_index_storage_format = V1,
time_series_compaction_empty_rowsets_threshold = 5,
default.replication_allocation = tag.location.default: 1,
time_series_compaction_level_threshold = 1,
time_series_compaction_time_threshold_seconds = 3600, storage_format = V2,
store_row_column = false, light_schema_change = true,
enable_unique_key_merge_on_write = false, in_memory = false,
file_cache_ttl_seconds = 0, group_commit_data_bytes = 134217728,
compaction_policy = size_based, _auto_bucket = false, binlog.max_history_nums =
9223372036854775807, time_series_compaction_file_count_threshold = 2000,
skip_write_index_on_load = false, disable_auto_compaction = false,
time_series_compaction_goal_size_mbytes = 1024, storage_medium = HDD,
enable_single_replica_compaction = false, compressio
n = LZ4F, binlog.max_bytes = 9223372036854775807
*************************** 2. row ***************************
TABLE_NAME: listtable
TABLE_CATALOG: internal
TABLE_SCHEMA: test_table_options_db
DISTRIBUTE_KEY: user_id
DISTRIBUTE_TYPE: HASH
BUCKETS_NUM: 16
PARTITION_NUM: 3
PROPERTIES: min_load_replica_num = -1, data_sort.col_num = 6,
group_commit_interval_ms = 10000, data_sort.sort_type = LEXICAL,
is_being_synced = false, binlog.enable = false, binlog.ttl_seconds = 86400,
inverted_index_storage_format = V1,
time_series_compaction_empty_rowsets_threshold = 5,
default.replication_allocation = tag.location.default: 1,
time_series_compaction_level_threshold = 1,
time_series_compaction_time_threshold_seconds = 3600, storage_format = V2,
store_row_column = false, light_schema_change = true,
enable_unique_key_merge_on_write = false, in_memory = false,
file_cache_ttl_seconds = 0, group_commit_data_bytes = 134217728,
compaction_policy = size_based, _auto_bucket = false, binlog.max_history_nums =
9223372036854775807, time_series_compaction_file_count_threshold = 2000,
skip_write_index_on_load = false, disable_auto_compaction = false,
time_series_compaction_goal_size_mbytes = 1024, storage_medium = HDD,
enable_single_replica_compaction = false, compressio
n = LZ4F, binlog.max_bytes = 9223372036854775807
*************************** 3. row ***************************
TABLE_NAME: randomtable
TABLE_CATALOG: internal
TABLE_SCHEMA: test_table_options_db
DISTRIBUTE_KEY: RANDOM
DISTRIBUTE_TYPE: RANDOM
BUCKETS_NUM: 16
PARTITION_NUM: 1
PROPERTIES: min_load_replica_num = -1, data_sort.col_num = 3,
group_commit_interval_ms = 10000, data_sort.sort_type = LEXICAL,
is_being_synced = false, binlog.enable = false, binlog.ttl_seconds = 86400,
inverted_index_storage_format = V1,
time_series_compaction_empty_rowsets_threshold = 5,
default.replication_allocation = tag.location.default: 1,
time_series_compaction_level_threshold = 1,
time_series_compaction_time_threshold_seconds = 3600, storage_format = V2,
store_row_column = false, light_schema_change = true,
enable_unique_key_merge_on_write = false, in_memory = false,
file_cache_ttl_seconds = 0, group_commit_data_bytes = 134217728,
compaction_policy = size_based, _auto_bucket = false, binlog.max_history_nums =
9223372036854775807, time_series_compaction_file_count_threshold = 2000,
skip_write_index_on_load = false, disable_auto_compaction = false,
time_series_compaction_goal_size_mbytes = 1024, storage_medium = HDD,
enable_single_replica_compaction = false, compressio
n = LZ4F, binlog.max_bytes = 9223372036854775807
3 rows in set (0.03 sec)
## Further comments
If this is a relatively large or complex change, kick off the discussion at
[[email protected]](mailto:[email protected]) by explaining why you
chose the solution you did and what alternatives you considered, etc...
--
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]