Skip to content

Conversation

@FangYongs
Copy link
Contributor

Introduce schemas table in table store, user can query historical schemas of table through sql: SELECT * FROM Table$schemas

Copy link
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @zjureel for the contribution, left comments.

+-----------+----------------------------------------+----------------+--------------+-----------+-----------+
| schema_id | fields | partition_keys | primary_keys | options | commonts |
+-----------+----------------------------------------+----------------+--------------+-----------+-----------+
| 1 | [{"id":0,"name":"a","type":"BIGINT"... | ["k1"] | ["k1", "k2] | {} | my table |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In SQL-CLI, do we have option to show long field? I think we can use it here.
sql-client.display.max-column-width

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In SQL-CLI, do we have option to show long field? I think we can use it here. sql-client.display.max-column-width

The config sql-client.display.max-column-width is supported in streaming only, I have created a issue https://issues.apache.org/jira/browse/FLINK-30303 in Flink

@FangYongs FangYongs force-pushed the FLINK_30263_schemas_table branch from 3f11313 to 97f3e8e Compare December 5, 2022 06:29
Copy link
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@JingsongLi JingsongLi merged commit f103f33 into apache:master Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants