You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "caican00 (via GitHub)" <gi...@apache.org> on 2024/08/30 06:45:15 UTC

[PR] [MINOR][doc] Polish the paimon document [gravitino]

caican00 opened a new pull request, #4806:
URL: https://github.com/apache/gravitino/pull/4806

   <!--
   1. Title: [#<issue>] <type>(<scope>): <subject>
      Examples:
        - "[#123] feat(operator): support xxx"
        - "[#233] fix: check null before access result in xxx"
        - "[MINOR] refactor: fix typo in variable name"
        - "[MINOR] docs: fix typo in README"
        - "[#255] test: fix flaky test NameOfTheTest"
      Reference: https://www.conventionalcommits.org/en/v1.0.0/
   2. If the PR is unfinished, please mark this PR as draft.
   -->
   
   ### What changes were proposed in this pull request?
   
   thsi pr clarifies the meaning of 'paimon dropTable' and indicates that 'purgeTable' is not supported
   


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [MINOR][doc] Polish the paimon document [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on PR #4806:
URL: https://github.com/apache/gravitino/pull/4806#issuecomment-2320646737

   LGTM except one comment


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [MINOR][doc] Polish the paimon document [gravitino]

Posted by "caican00 (via GitHub)" <gi...@apache.org>.
caican00 commented on PR #4806:
URL: https://github.com/apache/gravitino/pull/4806#issuecomment-2320402568

   > as discussed in #1436 , paimon supports `purgeTable` not `dropTable`, as it will delete table metadata and data immediately, could you change corresponding code too ? cc @mchades
   
   ok


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4814] Improvement (catalog-lakehouse-paimon): use purgeTable for Paimon instead of dropTable inGravitino [gravitino]

Posted by "caican00 (via GitHub)" <gi...@apache.org>.
caican00 commented on code in PR #4806:
URL: https://github.com/apache/gravitino/pull/4806#discussion_r1738308872


##########
docs/lakehouse-paimon-catalog.md:
##########
@@ -72,19 +72,21 @@ Please refer to [Manage Relational Metadata Using Gravitino](./manage-relational
 ### Table capabilities
 
 - Supporting createTable, dropTable, alterTable, loadTable and listTable.

Review Comment:
   updaed.



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4814] Improvement (catalog-lakehouse-paimon): use purgeTable for Paimon instead of dropTable inGravitino [gravitino]

Posted by "caican00 (via GitHub)" <gi...@apache.org>.
caican00 commented on PR #4806:
URL: https://github.com/apache/gravitino/pull/4806#issuecomment-2320766736

   > @caican00 could you fix the ci failure?
   > 
   > ```
   > CatalogPaimonKerberosFilesystemIT > testPaimonWithKerberos() FAILED
   >     java.lang.UnsupportedOperationException: Failed to operate table(s) [test_table_2c03604e] operation [DROP] under schema [test_schema_161bf627], reason [Paimon dropTable will both remove the metadata and data, please use purgeTable instead in Gravitino.]
   >     java.lang.UnsupportedOperationException: Paimon dropTable will both remove the metadata and data, please use purgeTable instead in Gravitino.
   >     	at org.apache.gravitino.catalog.lakehouse.paimon.PaimonCatalogOperations.dropTable(PaimonCatalogOperations.java:441)
   >     	at org.apache.gravitino.catalog.TableOperationDispatcher.lambda$dropTable$15(TableOperationDispatcher.java:301)
   >     	at org.apache.gravitino.catalog.CatalogManager$CatalogWrapper.lambda$doWithTableOps$1(CatalogManager.java:132)
   >     	at org.apache.gravitino.utils.IsolatedClassLoader.withClassLoader(IsolatedClassLoader.java:86)
   >     	at org.apache.gravitino.catalog.CatalogManager$CatalogWrapper.doWithTableOps(CatalogManager.java:127)
   >     	at org.apache.gravitino.catalog.TableOperationDispatcher.lambda$dropTable$16(TableOperationDispatcher.java:301)
   > ```
   
   done


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4814] Improvement (catalog-lakehouse-paimon): use purgeTable for Paimon instead of dropTable inGravitino [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on PR #4806:
URL: https://github.com/apache/gravitino/pull/4806#issuecomment-2320763771

   @caican00 could you fix the ci failure?
   ```
   CatalogPaimonKerberosFilesystemIT > testPaimonWithKerberos() FAILED
       java.lang.UnsupportedOperationException: Failed to operate table(s) [test_table_2c03604e] operation [DROP] under schema [test_schema_161bf627], reason [Paimon dropTable will both remove the metadata and data, please use purgeTable instead in Gravitino.]
       java.lang.UnsupportedOperationException: Paimon dropTable will both remove the metadata and data, please use purgeTable instead in Gravitino.
       	at org.apache.gravitino.catalog.lakehouse.paimon.PaimonCatalogOperations.dropTable(PaimonCatalogOperations.java:441)
       	at org.apache.gravitino.catalog.TableOperationDispatcher.lambda$dropTable$15(TableOperationDispatcher.java:301)
       	at org.apache.gravitino.catalog.CatalogManager$CatalogWrapper.lambda$doWithTableOps$1(CatalogManager.java:132)
       	at org.apache.gravitino.utils.IsolatedClassLoader.withClassLoader(IsolatedClassLoader.java:86)
       	at org.apache.gravitino.catalog.CatalogManager$CatalogWrapper.doWithTableOps(CatalogManager.java:127)
       	at org.apache.gravitino.catalog.TableOperationDispatcher.lambda$dropTable$16(TableOperationDispatcher.java:301)
   ```


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [MINOR][doc] Polish the paimon document [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on code in PR #4806:
URL: https://github.com/apache/gravitino/pull/4806#discussion_r1738303008


##########
docs/lakehouse-paimon-catalog.md:
##########
@@ -72,19 +72,21 @@ Please refer to [Manage Relational Metadata Using Gravitino](./manage-relational
 ### Table capabilities
 
 - Supporting createTable, dropTable, alterTable, loadTable and listTable.

Review Comment:
   change the related document?



-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#4814] Improvement (catalog-lakehouse-paimon): use purgeTable for Paimon instead of dropTable inGravitino [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 merged PR #4806:
URL: https://github.com/apache/gravitino/pull/4806


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [MINOR][doc] Polish the paimon document [gravitino]

Posted by "FANNG1 (via GitHub)" <gi...@apache.org>.
FANNG1 commented on PR #4806:
URL: https://github.com/apache/gravitino/pull/4806#issuecomment-2320364449

   as discussed in #1436 ,  paimon supports `purgeTable` not `dropTable`, as it will delete table metadata and data immediately,  could you change corresponding code too ?  cc @mchades 


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [MINOR][doc] Polish the paimon document [gravitino]

Posted by "caican00 (via GitHub)" <gi...@apache.org>.
caican00 commented on PR #4806:
URL: https://github.com/apache/gravitino/pull/4806#issuecomment-2320241482

   cc @FANNG1 


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org