xiaozcy opened a new issue, #4120:
URL: https://github.com/apache/gravitino/issues/4120

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   AS discussed in #3961 , we did not set partitioning when loading JDBC 
tables, which should be fixed. 
   After that, we should use `ArrayUtils.isEmpty(partitioning())` to check 
before creating an instance of `TableOperations`
   
   ### Error message and/or stacktrace
   
   
https://github.com/datastrato/gravitino/blob/d5d3fa25210e61f6bc425bc622bbdf5ee177db32/catalogs/catalog-jdbc-common/src/main/java/com/datastrato/gravitino/catalog/jdbc/JdbcCatalogOperations.java#L293-L301
   
   
https://github.com/datastrato/gravitino/blob/d5d3fa25210e61f6bc425bc622bbdf5ee177db32/catalogs/catalog-jdbc-common/src/main/java/com/datastrato/gravitino/catalog/jdbc/operation/JdbcTableOperations.java#L156-L194
   
   ### How to reproduce
   
   Load a partitioned JDBC table and the partitioning will always be empty.
   
   ### Additional context
   
   _No response_


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