You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/03/16 07:00:08 UTC

[GitHub] [hudi] dongkelun opened a new pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

dongkelun opened a new pull request #5051:
URL: https://github.com/apache/hudi/pull/5051


   ## *Tips*
   - *Thank you very much for contributing to Apache Hudi.*
   - *Please review https://hudi.apache.org/contribute/how-to-contribute before opening a pull request.*
   
   ## What is the purpose of the pull request
   
   *Fix hive count exception when the table is empty and the path depth is less than 3*
   
   ## Brief change log
   
     - *Change the value of DEFAULT_LEVELS_TO_BASEPATH  from 3 to 0*
   
   ## Verify this pull request
   
   
   This change added tests and can be verified as follows:
   
   
     - *Added testInputFormatLoadWithEmptyTable  in TestHoodieParquetInputFormat.*
     - *Added testInputFormatLoadWithEmptyTable  in TestHoodieHFileInputFormat.*
   
   ## Committer checklist
   
    - [ ] Has a corresponding JIRA in PR title & commit
    
    - [ ] Commit message is descriptive of the change
    
    - [ ] CI is green
   
    - [ ] Necessary doc changes done or have another open PR
          
    - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
   


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot removed a comment on pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1078788341


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     }, {
       "hash" : "df687a38340edc986925b52ff79e10437975fe7c",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364",
       "triggerID" : "df687a38340edc986925b52ff79e10437975fe7c",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 329216ee438fd1debf6939bf95f2db8cc6d9d727 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027) 
   * df687a38340edc986925b52ff79e10437975fe7c Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot removed a comment on pull request #5051: [HUDI-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1083121344


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     }, {
       "hash" : "df687a38340edc986925b52ff79e10437975fe7c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364",
       "triggerID" : "df687a38340edc986925b52ff79e10437975fe7c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7560",
       "triggerID" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0d444f09c752279ef1edd542ab3857e4965d8b9d",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "0d444f09c752279ef1edd542ab3857e4965d8b9d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1af81b4f673065ee600642fe709db915f98b568d",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "1af81b4f673065ee600642fe709db915f98b568d",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 9c30548e7c78445140b7ccef0d2c1b5c116161be Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7560) 
   * 0d444f09c752279ef1edd542ab3857e4965d8b9d UNKNOWN
   * 1af81b4f673065ee600642fe709db915f98b568d UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] dongkelun commented on a change in pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
dongkelun commented on a change in pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#discussion_r835074474



##########
File path: hudi-hadoop-mr/src/main/java/org/apache/hudi/hadoop/utils/HoodieHiveUtils.java
##########
@@ -71,7 +71,7 @@
   public static final String DEFAULT_SCAN_MODE = SNAPSHOT_SCAN_MODE;
   public static final int DEFAULT_MAX_COMMITS = 1;
   public static final int MAX_COMMIT_ALL = -1;
-  public static final int DEFAULT_LEVELS_TO_BASEPATH = 3;
+  public static final int DEFAULT_LEVELS_TO_BASEPATH = 0;

Review comment:
       Hello, I know this is only a default value. There is only one place to use it globally, which is the `HoodieInputFormatUtils.getTableMetaClientForBasePathUnchecked` method. Its logic is to use `HoodiePartitionMetadata.getPartitionDepth` get the actual levels, but an empty table without data will not  create `.hoodie_partition_metadata` file,so  It can't get levels, then an exception will be thrown. I think  either change the default value or create `.hoodie_partition_metadata`  file when creating an empty table , and `.hoodie_partition_metadata`  cannot be deleted when `truncate table`.
   I'm not sure if there's any better way. What do you think?
   




-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot removed a comment on pull request #5051: [HUDI-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1083074728


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     }, {
       "hash" : "df687a38340edc986925b52ff79e10437975fe7c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364",
       "triggerID" : "df687a38340edc986925b52ff79e10437975fe7c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7560",
       "triggerID" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0d444f09c752279ef1edd542ab3857e4965d8b9d",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "0d444f09c752279ef1edd542ab3857e4965d8b9d",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 9c30548e7c78445140b7ccef0d2c1b5c116161be Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7560) 
   * 0d444f09c752279ef1edd542ab3857e4965d8b9d UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot commented on pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1068803658


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot commented on pull request #5051: [HUDI-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1083074728


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     }, {
       "hash" : "df687a38340edc986925b52ff79e10437975fe7c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364",
       "triggerID" : "df687a38340edc986925b52ff79e10437975fe7c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7560",
       "triggerID" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0d444f09c752279ef1edd542ab3857e4965d8b9d",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "0d444f09c752279ef1edd542ab3857e4965d8b9d",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 9c30548e7c78445140b7ccef0d2c1b5c116161be Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7560) 
   * 0d444f09c752279ef1edd542ab3857e4965d8b9d UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] xiarixiaoyao commented on pull request #5051: [HUDI-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
xiarixiaoyao commented on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1082820174


   > 
   
   If it is not the root directory of the table, you can find the parent directory and go on, if we find .hoodie directory, we can parser hoodie.properties to do verify.    
   By the way, For partitioned tables,   there is a situation that a partition path exist but Hoodie_ partition_ Metadata not exist?


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot removed a comment on pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1068871546


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot commented on pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1069170702


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995) 
   * 8639262558410efbb13090f02f0cb3d531b5385a Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot commented on pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1068801861


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot commented on pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1068871546


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot removed a comment on pull request #5051: [HUDI-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1083057035


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     }, {
       "hash" : "df687a38340edc986925b52ff79e10437975fe7c",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364",
       "triggerID" : "df687a38340edc986925b52ff79e10437975fe7c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7560",
       "triggerID" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * df687a38340edc986925b52ff79e10437975fe7c Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364) 
   * 9c30548e7c78445140b7ccef0d2c1b5c116161be Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7560) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot removed a comment on pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1068803658


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot removed a comment on pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1069170702


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995) 
   * 8639262558410efbb13090f02f0cb3d531b5385a Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot commented on pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1069253618


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 8639262558410efbb13090f02f0cb3d531b5385a Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot commented on pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1070669938


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 329216ee438fd1debf6939bf95f2db8cc6d9d727 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot commented on pull request #5051: [HUDI-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1083071211


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     }, {
       "hash" : "df687a38340edc986925b52ff79e10437975fe7c",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364",
       "triggerID" : "df687a38340edc986925b52ff79e10437975fe7c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7560",
       "triggerID" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0d444f09c752279ef1edd542ab3857e4965d8b9d",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "0d444f09c752279ef1edd542ab3857e4965d8b9d",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * df687a38340edc986925b52ff79e10437975fe7c Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364) 
   * 9c30548e7c78445140b7ccef0d2c1b5c116161be Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7560) 
   * 0d444f09c752279ef1edd542ab3857e4965d8b9d UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot commented on pull request #5051: [HUDI-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1083121344


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     }, {
       "hash" : "df687a38340edc986925b52ff79e10437975fe7c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364",
       "triggerID" : "df687a38340edc986925b52ff79e10437975fe7c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7560",
       "triggerID" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0d444f09c752279ef1edd542ab3857e4965d8b9d",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "0d444f09c752279ef1edd542ab3857e4965d8b9d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1af81b4f673065ee600642fe709db915f98b568d",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "1af81b4f673065ee600642fe709db915f98b568d",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 9c30548e7c78445140b7ccef0d2c1b5c116161be Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7560) 
   * 0d444f09c752279ef1edd542ab3857e4965d8b9d UNKNOWN
   * 1af81b4f673065ee600642fe709db915f98b568d UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot commented on pull request #5051: [HUDI-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1083125036


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     }, {
       "hash" : "df687a38340edc986925b52ff79e10437975fe7c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364",
       "triggerID" : "df687a38340edc986925b52ff79e10437975fe7c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7560",
       "triggerID" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0d444f09c752279ef1edd542ab3857e4965d8b9d",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "0d444f09c752279ef1edd542ab3857e4965d8b9d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1af81b4f673065ee600642fe709db915f98b568d",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7562",
       "triggerID" : "1af81b4f673065ee600642fe709db915f98b568d",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 9c30548e7c78445140b7ccef0d2c1b5c116161be Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7560) 
   * 0d444f09c752279ef1edd542ab3857e4965d8b9d UNKNOWN
   * 1af81b4f673065ee600642fe709db915f98b568d Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7562) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot removed a comment on pull request #5051: [HUDI-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1078828134


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     }, {
       "hash" : "df687a38340edc986925b52ff79e10437975fe7c",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364",
       "triggerID" : "df687a38340edc986925b52ff79e10437975fe7c",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * df687a38340edc986925b52ff79e10437975fe7c Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot removed a comment on pull request #5051: [HUDI-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1083071211


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     }, {
       "hash" : "df687a38340edc986925b52ff79e10437975fe7c",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364",
       "triggerID" : "df687a38340edc986925b52ff79e10437975fe7c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7560",
       "triggerID" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0d444f09c752279ef1edd542ab3857e4965d8b9d",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "0d444f09c752279ef1edd542ab3857e4965d8b9d",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * df687a38340edc986925b52ff79e10437975fe7c Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364) 
   * 9c30548e7c78445140b7ccef0d2c1b5c116161be Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7560) 
   * 0d444f09c752279ef1edd542ab3857e4965d8b9d UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot removed a comment on pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1069167558


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995) 
   * 8639262558410efbb13090f02f0cb3d531b5385a UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot removed a comment on pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1078786006


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     }, {
       "hash" : "df687a38340edc986925b52ff79e10437975fe7c",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "df687a38340edc986925b52ff79e10437975fe7c",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 329216ee438fd1debf6939bf95f2db8cc6d9d727 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027) 
   * df687a38340edc986925b52ff79e10437975fe7c UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot commented on pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1078786006


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     }, {
       "hash" : "df687a38340edc986925b52ff79e10437975fe7c",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "df687a38340edc986925b52ff79e10437975fe7c",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 329216ee438fd1debf6939bf95f2db8cc6d9d727 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027) 
   * df687a38340edc986925b52ff79e10437975fe7c UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot removed a comment on pull request #5051: [HUDI-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1083125036


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     }, {
       "hash" : "df687a38340edc986925b52ff79e10437975fe7c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364",
       "triggerID" : "df687a38340edc986925b52ff79e10437975fe7c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7560",
       "triggerID" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0d444f09c752279ef1edd542ab3857e4965d8b9d",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "0d444f09c752279ef1edd542ab3857e4965d8b9d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1af81b4f673065ee600642fe709db915f98b568d",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7562",
       "triggerID" : "1af81b4f673065ee600642fe709db915f98b568d",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 9c30548e7c78445140b7ccef0d2c1b5c116161be Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7560) 
   * 0d444f09c752279ef1edd542ab3857e4965d8b9d UNKNOWN
   * 1af81b4f673065ee600642fe709db915f98b568d Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7562) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot commented on pull request #5051: [HUDI-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1083280434


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     }, {
       "hash" : "df687a38340edc986925b52ff79e10437975fe7c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364",
       "triggerID" : "df687a38340edc986925b52ff79e10437975fe7c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7560",
       "triggerID" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "triggerType" : "PUSH"
     }, {
       "hash" : "0d444f09c752279ef1edd542ab3857e4965d8b9d",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "0d444f09c752279ef1edd542ab3857e4965d8b9d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1af81b4f673065ee600642fe709db915f98b568d",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7562",
       "triggerID" : "1af81b4f673065ee600642fe709db915f98b568d",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 0d444f09c752279ef1edd542ab3857e4965d8b9d UNKNOWN
   * 1af81b4f673065ee600642fe709db915f98b568d Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7562) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] dongkelun commented on a change in pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
dongkelun commented on a change in pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#discussion_r835078940



##########
File path: hudi-hadoop-mr/src/main/java/org/apache/hudi/hadoop/utils/HoodieHiveUtils.java
##########
@@ -71,7 +71,7 @@
   public static final String DEFAULT_SCAN_MODE = SNAPSHOT_SCAN_MODE;
   public static final int DEFAULT_MAX_COMMITS = 1;
   public static final int MAX_COMMIT_ALL = -1;
-  public static final int DEFAULT_LEVELS_TO_BASEPATH = 3;
+  public static final int DEFAULT_LEVELS_TO_BASEPATH = 0;

Review comment:
        `truncate table` in hive will delete the `.hoodie_partition_metadata` file,We can't seem to change the logic of `hive truncate table`?After changing the default value to 0, `count` can work normally after executing `truncate table`




-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot commented on pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1078828134


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     }, {
       "hash" : "df687a38340edc986925b52ff79e10437975fe7c",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364",
       "triggerID" : "df687a38340edc986925b52ff79e10437975fe7c",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * df687a38340edc986925b52ff79e10437975fe7c Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot removed a comment on pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1070669938


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 329216ee438fd1debf6939bf95f2db8cc6d9d727 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot removed a comment on pull request #5051: [HUDI-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1083053863


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     }, {
       "hash" : "df687a38340edc986925b52ff79e10437975fe7c",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364",
       "triggerID" : "df687a38340edc986925b52ff79e10437975fe7c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * df687a38340edc986925b52ff79e10437975fe7c Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364) 
   * 9c30548e7c78445140b7ccef0d2c1b5c116161be UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot commented on pull request #5051: [HUDI-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1083053863


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     }, {
       "hash" : "df687a38340edc986925b52ff79e10437975fe7c",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364",
       "triggerID" : "df687a38340edc986925b52ff79e10437975fe7c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * df687a38340edc986925b52ff79e10437975fe7c Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364) 
   * 9c30548e7c78445140b7ccef0d2c1b5c116161be UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot commented on pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1078788341


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     }, {
       "hash" : "df687a38340edc986925b52ff79e10437975fe7c",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364",
       "triggerID" : "df687a38340edc986925b52ff79e10437975fe7c",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 329216ee438fd1debf6939bf95f2db8cc6d9d727 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027) 
   * df687a38340edc986925b52ff79e10437975fe7c Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] dongkelun commented on pull request #5051: [HUDI-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
dongkelun commented on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1082828959


   > > 
   > 
   > If it is not the root directory of the table, you can find the parent directory and go on, if we find .hoodie directory, we can parser hoodie.properties to do verify. By the way, For partitioned tables, there is a situation that a partition path exist but Hoodie_ partition_ Metadata not exist?
   
   1、truncate table  will delete the .hoodie_partition_metadata file but not delete the partition path 
   2、I think your idea is OK. I'll try it according to your idea


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot commented on pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1070423372


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 8639262558410efbb13090f02f0cb3d531b5385a Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001) 
   * 329216ee438fd1debf6939bf95f2db8cc6d9d727 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot removed a comment on pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1069253618


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 8639262558410efbb13090f02f0cb3d531b5385a Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot removed a comment on pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1070423372


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 8639262558410efbb13090f02f0cb3d531b5385a Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001) 
   * 329216ee438fd1debf6939bf95f2db8cc6d9d727 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot removed a comment on pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1068801861


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] xushiyan commented on a change in pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
xushiyan commented on a change in pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#discussion_r835060702



##########
File path: hudi-hadoop-mr/src/main/java/org/apache/hudi/hadoop/utils/HoodieHiveUtils.java
##########
@@ -71,7 +71,7 @@
   public static final String DEFAULT_SCAN_MODE = SNAPSHOT_SCAN_MODE;
   public static final int DEFAULT_MAX_COMMITS = 1;
   public static final int MAX_COMMIT_ALL = -1;
-  public static final int DEFAULT_LEVELS_TO_BASEPATH = 3;
+  public static final int DEFAULT_LEVELS_TO_BASEPATH = 0;

Review comment:
       @dongkelun this is just a default value. this should not be the root cause. The main problem should be somewhere in the code the actual levels blindly using the default and not overwritten by the actual one. Can you trace down the usage and figure out the misuse?




-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot commented on pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1070415745


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 8639262558410efbb13090f02f0cb3d531b5385a Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001) 
   * 329216ee438fd1debf6939bf95f2db8cc6d9d727 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot removed a comment on pull request #5051: [Hudi-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1070415745


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 8639262558410efbb13090f02f0cb3d531b5385a Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001) 
   * 329216ee438fd1debf6939bf95f2db8cc6d9d727 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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



[GitHub] [hudi] xiarixiaoyao commented on pull request #5051: [HUDI-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
xiarixiaoyao commented on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1082797078


   @dongkelun 
   This is the problem of Hoodie logic, not the problem of default value
   
   if we cannot find PartitionMetadata file,  we can check whether  ./hoodie directoy exist  instead of check PartitionMetadata file
   


-- 
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@hudi.apache.org

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



[GitHub] [hudi] dongkelun commented on pull request #5051: [HUDI-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
dongkelun commented on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1082806197


   > @dongkelun This is the problem of Hoodie logic, not the problem of default value
   > 
   > if we cannot find PartitionMetadata file, we can check whether ./hoodie directoy exist instead of check PartitionMetadata file
   
   If it is a partition path, it does not exist the ./hoodie directoy
   The purpose here is to find basepath, if it exists ./hoodie directoy means basepath. Otherwise, we still need to determine the basepath by reading the level of `.hoodie_partition_metadata` file


-- 
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@hudi.apache.org

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



[GitHub] [hudi] hudi-bot commented on pull request #5051: [HUDI-3643] Fix hive count exception when the table is empty and the path depth is less than 3

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #5051:
URL: https://github.com/apache/hudi/pull/5051#issuecomment-1083057035


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6995",
       "triggerID" : "d680cedeeb4e5bfa8cc9acc6e56834cc73c1199c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7001",
       "triggerID" : "8639262558410efbb13090f02f0cb3d531b5385a",
       "triggerType" : "PUSH"
     }, {
       "hash" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7027",
       "triggerID" : "329216ee438fd1debf6939bf95f2db8cc6d9d727",
       "triggerType" : "PUSH"
     }, {
       "hash" : "df687a38340edc986925b52ff79e10437975fe7c",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364",
       "triggerID" : "df687a38340edc986925b52ff79e10437975fe7c",
       "triggerType" : "PUSH"
     }, {
       "hash" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7560",
       "triggerID" : "9c30548e7c78445140b7ccef0d2c1b5c116161be",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * df687a38340edc986925b52ff79e10437975fe7c Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7364) 
   * 9c30548e7c78445140b7ccef0d2c1b5c116161be Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=7560) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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@hudi.apache.org

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