ayush786hack commented on code in PR #14917:
URL: https://github.com/apache/gravitino/pull/14917#discussion_r4562459285


##########
web-v2/web/src/app/catalogs/rightContent/CreateTableDialog.js:
##########
@@ -963,7 +978,6 @@ export default function CreateTableDialog({ ...props }) {
                       <Switch
                         size='small'
                         disabled={
-                          !!editTable ||
                           
!ColumnTypeSupportAutoIncrement.includes(values?.columns[subField.name]?.typeObj?.type)

Review Comment:
   Fixed in commit `a2089e305`. I added `isAutoIncrementColumnTypeSupported`, 
which trims and lowercases the column type before checking the supported-type 
list. This handles edit-form values such as `Long`. Tests now cover lowercase, 
uppercase, and whitespace-padded variants.



-- 
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]

Reply via email to