ayush786hack commented on code in PR #14917:
URL: https://github.com/apache/gravitino/pull/14917#discussion_r4621887620
##########
web-v2/web/src/app/catalogs/rightContent/entitiesContent/TableDetailsPage.js:
##########
@@ -411,9 +453,21 @@ export default function TableDetailsPage({ ...props }) {
metadataObjectFullName={`${catalog}.${schema}.${table}.${record.name}`}
/>
) : null
+ },
+ {
+ title: 'Policies',
+ dataIndex: 'policies',
+ key: 'policies',
+ render: (_, record) =>
+ record?.node === 'tableColumn' ? (
+ <Policies
+ metadataObjectType={'column'}
+
metadataObjectFullName={`${catalog}.${schema}.${table}.${record.name}`}
+ />
+ ) : null
}
- ],
- [store.activatedDetails]
+ ].filter(column => !column.metadataKey ||
visibleMetadataColumns.includes(column.metadataKey)),
Review Comment:
Implemented in commit 27aa29330. Added the four metadata columns (Nullable,
AutoIncrement, Default Value, and Comment) with matching metadataKey values.
The Default Value column uses the existing formatColumnDefaultValue renderer.
I also extended the Selenium test to verify that all four columns can be
hidden and shown again. The integration-test Java sources compile successfully.
--
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]