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/02/09 07:42:42 UTC

[GitHub] [hudi] HuberyLee opened a new pull request #4773: [HUDI-3400] Avoid throw exception when create hoodie table

HuberyLee opened a new pull request #4773:
URL: https://github.com/apache/hudi/pull/4773


   ## *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
   
   *Now, when create a hudi table, IllegalArgumentException will be thrown because of there is no data file, but has no effect on result, this PR will fix it.*
   
   Link: [HUDI-3400](https://issues.apache.org/jira/browse/HUDI-3400)
   
   ## Brief change log
   
     - *Check whether data file exist in `TableSchemaResolver#hasOperationField` when init TableSchemaResolver*
   
   ## Verify this pull request
   
   This pull request is already covered by existing tests, such as *TestCreateTable*.
   
   ## Committer checklist
   
    - [x] Has a corresponding JIRA in PR title & commit
    
    - [x] 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] huberylee commented on pull request #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   @YannByron I have rebased master and solved comments, please review it, thanks.


-- 
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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 3941ceceb507a555a80ada072afdbc7f6ad79d91 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * 65c8457ddb07ca94312168de529a2b293d40349e Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053) 
   * 5b30050839b20af92e0477955829b19fc22a8192 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092",
       "triggerID" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093",
       "triggerID" : "1042871608",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "triggerType" : "PUSH"
     }, {
       "hash" : "79a1360fb8ff7978bd1f9e9535b5299e8e930f97",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6233",
       "triggerID" : "79a1360fb8ff7978bd1f9e9535b5299e8e930f97",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * ebdfdb21fc482f2b7792e5b5392cc5ef3f342882 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092) Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093) 
   * d32f1ae27baf09d619b065bfaa174c154239c1cc UNKNOWN
   * 79a1360fb8ff7978bd1f9e9535b5299e8e930f97 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6233) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092",
       "triggerID" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093",
       "triggerID" : "1042871608",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * ebdfdb21fc482f2b7792e5b5392cc5ef3f342882 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092) Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093) 
   * d32f1ae27baf09d619b065bfaa174c154239c1cc 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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 761821810bc67902553c37dcbfb40c61abd4e7c8 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832) 
   * 09217dbc34c15ccb5259cb4168ed9e221ac92bf1 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 09217dbc34c15ccb5259cb4168ed9e221ac92bf1 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * 5b30050839b20af92e0477955829b19fc22a8192 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * eaad144372c5de2c1868cbe246281300a334b655 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086) 
   * ebdfdb21fc482f2b7792e5b5392cc5ef3f342882 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] huberylee commented on pull request #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   > 
   
   @alexeykudinkin This PR is intending to avoid printing too many exception stacks when create a hoodie table.  When creating  hoodie table, no data files will be found in table path, so `TableSchemaResolver#hasOperationField` will return false by catch `IllegalArgumentException` or `NullPointerException`, and many exception stacks will be printed. Too many exception stacks in log may affect troubleshooting.


-- 
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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092",
       "triggerID" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093",
       "triggerID" : "1042871608",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "triggerType" : "PUSH"
     }, {
       "hash" : "79a1360fb8ff7978bd1f9e9535b5299e8e930f97",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6233",
       "triggerID" : "79a1360fb8ff7978bd1f9e9535b5299e8e930f97",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b857ec45542c2eb8087d7a7fda3ff3d10772d13e",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6314",
       "triggerID" : "b857ec45542c2eb8087d7a7fda3ff3d10772d13e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * d32f1ae27baf09d619b065bfaa174c154239c1cc UNKNOWN
   * b857ec45542c2eb8087d7a7fda3ff3d10772d13e Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6314) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092",
       "triggerID" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093",
       "triggerID" : "1042871608",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "triggerType" : "PUSH"
     }, {
       "hash" : "79a1360fb8ff7978bd1f9e9535b5299e8e930f97",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6233",
       "triggerID" : "79a1360fb8ff7978bd1f9e9535b5299e8e930f97",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * d32f1ae27baf09d619b065bfaa174c154239c1cc UNKNOWN
   * 79a1360fb8ff7978bd1f9e9535b5299e8e930f97 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6233) 
   
   <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] YannByron commented on a change in pull request #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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



##########
File path: hudi-common/src/main/java/org/apache/hudi/common/table/TableSchemaResolver.java
##########
@@ -49,6 +50,8 @@
 import org.apache.parquet.hadoop.metadata.ParquetMetadata;
 import org.apache.parquet.schema.MessageType;
 
+import javax.annotation.Nonnull;
+

Review comment:
       put it behind `java.io.IOException`.




-- 
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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * eaad144372c5de2c1868cbe246281300a334b655 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 09217dbc34c15ccb5259cb4168ed9e221ac92bf1 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856) 
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092",
       "triggerID" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093",
       "triggerID" : "1042871608",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "triggerType" : "PUSH"
     }, {
       "hash" : "79a1360fb8ff7978bd1f9e9535b5299e8e930f97",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6233",
       "triggerID" : "79a1360fb8ff7978bd1f9e9535b5299e8e930f97",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * d32f1ae27baf09d619b065bfaa174c154239c1cc UNKNOWN
   * 79a1360fb8ff7978bd1f9e9535b5299e8e930f97 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6233) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * 2ea93235cbd3a9b7d739616899590a26729f6174 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049) 
   * 65c8457ddb07ca94312168de529a2b293d40349e 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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092",
       "triggerID" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093",
       "triggerID" : "1042871608",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "triggerType" : "PUSH"
     }, {
       "hash" : "79a1360fb8ff7978bd1f9e9535b5299e8e930f97",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6233",
       "triggerID" : "79a1360fb8ff7978bd1f9e9535b5299e8e930f97",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b857ec45542c2eb8087d7a7fda3ff3d10772d13e",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6314",
       "triggerID" : "b857ec45542c2eb8087d7a7fda3ff3d10772d13e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * d32f1ae27baf09d619b065bfaa174c154239c1cc UNKNOWN
   * 79a1360fb8ff7978bd1f9e9535b5299e8e930f97 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6233) 
   * b857ec45542c2eb8087d7a7fda3ff3d10772d13e Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6314) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 761821810bc67902553c37dcbfb40c61abd4e7c8 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832) 
   * 09217dbc34c15ccb5259cb4168ed9e221ac92bf1 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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 3941ceceb507a555a80ada072afdbc7f6ad79d91 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830) 
   * 761821810bc67902553c37dcbfb40c61abd4e7c8 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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 3941ceceb507a555a80ada072afdbc7f6ad79d91 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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 3941ceceb507a555a80ada072afdbc7f6ad79d91 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830) 
   * 761821810bc67902553c37dcbfb40c61abd4e7c8 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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 761821810bc67902553c37dcbfb40c61abd4e7c8 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832) 
   
   <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] YannByron commented on pull request #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   @huberylee LGTM, just leave some little suggestions. and please rebase master first.


-- 
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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092",
       "triggerID" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093",
       "triggerID" : "1042871608",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "triggerType" : "PUSH"
     }, {
       "hash" : "79a1360fb8ff7978bd1f9e9535b5299e8e930f97",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6233",
       "triggerID" : "79a1360fb8ff7978bd1f9e9535b5299e8e930f97",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b857ec45542c2eb8087d7a7fda3ff3d10772d13e",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b857ec45542c2eb8087d7a7fda3ff3d10772d13e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * d32f1ae27baf09d619b065bfaa174c154239c1cc UNKNOWN
   * 79a1360fb8ff7978bd1f9e9535b5299e8e930f97 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6233) 
   * b857ec45542c2eb8087d7a7fda3ff3d10772d13e 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] leesf commented on a change in pull request #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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



##########
File path: hudi-common/src/main/java/org/apache/hudi/common/table/TableSchemaResolver.java
##########
@@ -70,48 +71,42 @@ public TableSchemaResolver(HoodieTableMetaClient metaClient) {
     this.hasOperationField = hasOperationField();
   }
 
+  private Option<MessageType> getTableParquetSchemaFromDataFile() {
+    String dataFilePath = getValidDataFilePath().orElseThrow(() -> new IllegalArgumentException(
+        "Could not find any data file written for commit, so could not get schema for table "
+            + metaClient.getBasePath()));
+    return getTableParquetSchemaFromDataFile(dataFilePath);
+  }
+
   /**
    * Gets the schema for a hoodie table. Depending on the type of table, read from any file written in the latest
    * commit. We will assume that the schema has not changed within a single atomic write.
    *
-   * @return Parquet schema for this table
+   * @return Parquet schema for this table, or {@code Option.empty()} if read from the log file has no {@code HoodieDataBlock}
    */
-  private MessageType getTableParquetSchemaFromDataFile() {
-    HoodieActiveTimeline activeTimeline = metaClient.getActiveTimeline();
-    Option<Pair<HoodieInstant, HoodieCommitMetadata>> instantAndCommitMetadata =
-        activeTimeline.getLastCommitMetadataWithValidData();
+  private Option<MessageType> getTableParquetSchemaFromDataFile(@Nonnull String filePath) {

Review comment:
       why here we need @Nonnull annotation, i do not see the annotation in other methods/fields




-- 
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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092",
       "triggerID" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093",
       "triggerID" : "1042871608",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * ebdfdb21fc482f2b7792e5b5392cc5ef3f342882 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092) Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093) 
   * d32f1ae27baf09d619b065bfaa174c154239c1cc 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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092",
       "triggerID" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093",
       "triggerID" : "1042871608",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "triggerType" : "PUSH"
     }, {
       "hash" : "79a1360fb8ff7978bd1f9e9535b5299e8e930f97",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6233",
       "triggerID" : "79a1360fb8ff7978bd1f9e9535b5299e8e930f97",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * ebdfdb21fc482f2b7792e5b5392cc5ef3f342882 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092) Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093) 
   * d32f1ae27baf09d619b065bfaa174c154239c1cc UNKNOWN
   * 79a1360fb8ff7978bd1f9e9535b5299e8e930f97 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6233) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 3941ceceb507a555a80ada072afdbc7f6ad79d91 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830) 
   * 761821810bc67902553c37dcbfb40c61abd4e7c8 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832) 
   
   <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] YannByron commented on a change in pull request #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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



##########
File path: hudi-common/src/main/java/org/apache/hudi/common/table/TableSchemaResolver.java
##########
@@ -477,11 +477,30 @@ public boolean isHasOperationField() {
 
   private boolean hasOperationField() {
     try {
-      Schema tableAvroSchema = getTableAvroSchemaFromDataFile();
-      return tableAvroSchema.getField(HoodieRecord.OPERATION_METADATA_FIELD) != null;
+      Option<String> anyDataFilePath = getAnyDataFilePathFromLastCommit();
+      if (anyDataFilePath.isPresent()) {
+        Schema tableAvroSchema = getTableAvroSchemaFromDataFile(anyDataFilePath.get());
+        return tableAvroSchema.getField(HoodieRecord.OPERATION_METADATA_FIELD) != null;
+      } else {
+        LOG.info("No data file found from last commit");
+        return false;
+      }
     } catch (Exception e) {
       LOG.warn("Failed to read operation field from avro schema", e);
       return false;
     }
   }
+
+  private Option<String> getAnyDataFilePathFromLastCommit() {

Review comment:
       maybe `getValidDataFilePath` is ok.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@hudi.apache.org

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



[GitHub] [hudi] hudi-bot commented on pull request #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * 2ea93235cbd3a9b7d739616899590a26729f6174 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049) 
   * 65c8457ddb07ca94312168de529a2b293d40349e Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 09217dbc34c15ccb5259cb4168ed9e221ac92bf1 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856) 
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * 2ea93235cbd3a9b7d739616899590a26729f6174 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] alexeykudinkin commented on pull request #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   @huberylee can you please elaborate what your PR is intending to change exactly? PR description states that you're fixing it throwing an `IllegalArgumentException`, but i still see it being thrown in the same circumstances.


-- 
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] huberylee commented on pull request #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   @alexeykudinkin Can you review this patch as well.


-- 
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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * 65c8457ddb07ca94312168de529a2b293d40349e Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053) 
   * 5b30050839b20af92e0477955829b19fc22a8192 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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 761821810bc67902553c37dcbfb40c61abd4e7c8 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832) 
   * 09217dbc34c15ccb5259cb4168ed9e221ac92bf1 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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 09217dbc34c15ccb5259cb4168ed9e221ac92bf1 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856) 
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * 2ea93235cbd3a9b7d739616899590a26729f6174 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 09217dbc34c15ccb5259cb4168ed9e221ac92bf1 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856) 
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * 2ea93235cbd3a9b7d739616899590a26729f6174 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049) 
   * 65c8457ddb07ca94312168de529a2b293d40349e 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] leesf commented on a change in pull request #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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



##########
File path: hudi-flink/src/main/java/org/apache/hudi/util/CompactionUtil.java
##########
@@ -27,13 +30,10 @@
 import org.apache.hudi.common.table.timeline.HoodieTimeline;
 import org.apache.hudi.common.util.Option;
 import org.apache.hudi.configuration.FlinkOptions;
+import org.apache.hudi.exception.HoodieException;
 import org.apache.hudi.exception.HoodieIOException;
 import org.apache.hudi.sink.compact.FlinkCompactionConfig;
 import org.apache.hudi.table.HoodieFlinkTable;
-

Review comment:
       please revert the import change.




-- 
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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092",
       "triggerID" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093",
       "triggerID" : "1042871608",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "triggerType" : "PUSH"
     }, {
       "hash" : "79a1360fb8ff7978bd1f9e9535b5299e8e930f97",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "79a1360fb8ff7978bd1f9e9535b5299e8e930f97",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * ebdfdb21fc482f2b7792e5b5392cc5ef3f342882 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092) Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093) 
   * d32f1ae27baf09d619b065bfaa174c154239c1cc UNKNOWN
   * 79a1360fb8ff7978bd1f9e9535b5299e8e930f97 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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092",
       "triggerID" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093",
       "triggerID" : "1042871608",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * eaad144372c5de2c1868cbe246281300a334b655 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086) 
   * ebdfdb21fc482f2b7792e5b5392cc5ef3f342882 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092) Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * eaad144372c5de2c1868cbe246281300a334b655 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086) 
   * ebdfdb21fc482f2b7792e5b5392cc5ef3f342882 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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * 65c8457ddb07ca94312168de529a2b293d40349e Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * 65c8457ddb07ca94312168de529a2b293d40349e Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053) 
   * 5b30050839b20af92e0477955829b19fc22a8192 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092",
       "triggerID" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093",
       "triggerID" : "1042871608",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * ebdfdb21fc482f2b7792e5b5392cc5ef3f342882 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092) Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092",
       "triggerID" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093",
       "triggerID" : "1042871608",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * ebdfdb21fc482f2b7792e5b5392cc5ef3f342882 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092) Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093) 
   
   <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] leesf commented on a change in pull request #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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



##########
File path: hudi-common/src/main/java/org/apache/hudi/common/table/TableSchemaResolver.java
##########
@@ -166,11 +165,10 @@ public Schema getTableAvroSchema(boolean includeMetadataFields) throws Exception
         return schemaFromTableConfig.get();
       }
     }
-    if (includeMetadataFields) {
-      return getTableAvroSchemaFromDataFile();
-    } else {
-      return HoodieAvroUtils.removeMetadataFields(getTableAvroSchemaFromDataFile());
-    }
+
+    return getTableAvroSchemaFromDataFile()
+        .map(avroSchema -> includeMetadataFields ? avroSchema : HoodieAvroUtils.removeMetadataFields(avroSchema))
+        .orElseThrow(() -> new HoodieException("Failed to get table avro schema"));

Review comment:
       here why we need throw exception? there is no logic before.




-- 
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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092",
       "triggerID" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093",
       "triggerID" : "1042871608",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "triggerType" : "PUSH"
     }, {
       "hash" : "79a1360fb8ff7978bd1f9e9535b5299e8e930f97",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "79a1360fb8ff7978bd1f9e9535b5299e8e930f97",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * ebdfdb21fc482f2b7792e5b5392cc5ef3f342882 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092) Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093) 
   * d32f1ae27baf09d619b065bfaa174c154239c1cc UNKNOWN
   * 79a1360fb8ff7978bd1f9e9535b5299e8e930f97 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 pull request #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   @YannByron can you review this please? thank you


-- 
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] YannByron commented on a change in pull request #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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



##########
File path: hudi-common/src/main/java/org/apache/hudi/common/table/TableSchemaResolver.java
##########
@@ -65,46 +68,39 @@ public TableSchemaResolver(HoodieTableMetaClient metaClient) {
     this.hasOperationField = hasOperationField();
   }
 
+  private MessageType getTableParquetSchemaFromDataFile() {
+    Option<String> anyDataFilePath = getAnyDataFilePathFromLastCommit();

Review comment:
       maybe `dataFilePath` is ok.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 09217dbc34c15ccb5259cb4168ed9e221ac92bf1 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856) 
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * 2ea93235cbd3a9b7d739616899590a26729f6174 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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 09217dbc34c15ccb5259cb4168ed9e221ac92bf1 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856) 
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * 2ea93235cbd3a9b7d739616899590a26729f6174 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049) 
   * 65c8457ddb07ca94312168de529a2b293d40349e 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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 3941ceceb507a555a80ada072afdbc7f6ad79d91 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830) 
   * 761821810bc67902553c37dcbfb40c61abd4e7c8 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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 3941ceceb507a555a80ada072afdbc7f6ad79d91 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 3941ceceb507a555a80ada072afdbc7f6ad79d91 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] huberylee commented on pull request #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   @alexeykudinkin You can verify this by running `TestCreateTable`, although the test passed, many exception messages were printed during the test.


-- 
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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * 65c8457ddb07ca94312168de529a2b293d40349e Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053) 
   * 5b30050839b20af92e0477955829b19fc22a8192 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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * 5b30050839b20af92e0477955829b19fc22a8192 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084) 
   * eaad144372c5de2c1868cbe246281300a334b655 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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092",
       "triggerID" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093",
       "triggerID" : "1042871608",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * ebdfdb21fc482f2b7792e5b5392cc5ef3f342882 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092) Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093) 
   
   <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] huberylee commented on pull request #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   @hudi-bot run azure


-- 
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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 3941ceceb507a555a80ada072afdbc7f6ad79d91 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830) 
   * 761821810bc67902553c37dcbfb40c61abd4e7c8 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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 761821810bc67902553c37dcbfb40c61abd4e7c8 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832) 
   * 09217dbc34c15ccb5259cb4168ed9e221ac92bf1 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 761821810bc67902553c37dcbfb40c61abd4e7c8 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832) 
   
   <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] leesf commented on a change in pull request #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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



##########
File path: hudi-common/src/main/java/org/apache/hudi/common/table/TableSchemaResolver.java
##########
@@ -70,48 +71,42 @@ public TableSchemaResolver(HoodieTableMetaClient metaClient) {
     this.hasOperationField = hasOperationField();
   }
 
+  private Option<MessageType> getTableParquetSchemaFromDataFile() {
+    String dataFilePath = getValidDataFilePath().orElseThrow(() -> new IllegalArgumentException(
+        "Could not find any data file written for commit, so could not get schema for table "
+            + metaClient.getBasePath()));
+    return getTableParquetSchemaFromDataFile(dataFilePath);
+  }
+
   /**
    * Gets the schema for a hoodie table. Depending on the type of table, read from any file written in the latest
    * commit. We will assume that the schema has not changed within a single atomic write.
    *
-   * @return Parquet schema for this table
+   * @return Parquet schema for this table, or {@code Option.empty()} if read from the log file has no {@code HoodieDataBlock}

Review comment:
       `or {@code Option.empty()} if there is no {@code HoodieDataBlock} from log 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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092",
       "triggerID" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093",
       "triggerID" : "1042871608",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "triggerType" : "PUSH"
     }, {
       "hash" : "79a1360fb8ff7978bd1f9e9535b5299e8e930f97",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6233",
       "triggerID" : "79a1360fb8ff7978bd1f9e9535b5299e8e930f97",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b857ec45542c2eb8087d7a7fda3ff3d10772d13e",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b857ec45542c2eb8087d7a7fda3ff3d10772d13e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * d32f1ae27baf09d619b065bfaa174c154239c1cc UNKNOWN
   * 79a1360fb8ff7978bd1f9e9535b5299e8e930f97 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6233) 
   * b857ec45542c2eb8087d7a7fda3ff3d10772d13e 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] YannByron commented on a change in pull request #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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



##########
File path: hudi-common/src/main/java/org/apache/hudi/common/table/TableSchemaResolver.java
##########
@@ -41,6 +36,12 @@
 import org.apache.hudi.common.util.collection.Pair;
 import org.apache.hudi.exception.HoodieException;
 import org.apache.hudi.exception.InvalidTableException;
+
+import org.apache.avro.Schema;
+import org.apache.avro.Schema.Field;
+import org.apache.avro.SchemaCompatibility;
+import org.apache.hadoop.fs.FileSystem;
+import org.apache.hadoop.fs.Path;

Review comment:
       please put these back in place. it's better to align by alphabetically.




-- 
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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * 5b30050839b20af92e0477955829b19fc22a8192 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084) 
   * eaad144372c5de2c1868cbe246281300a334b655 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * 2ea93235cbd3a9b7d739616899590a26729f6174 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049) 
   * 65c8457ddb07ca94312168de529a2b293d40349e Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053) 
   
   <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] alexeykudinkin commented on a change in pull request #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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



##########
File path: hudi-common/src/main/java/org/apache/hudi/common/table/TableSchemaResolver.java
##########
@@ -523,10 +518,29 @@ public boolean isHasOperationField() {
 
   private boolean hasOperationField() {
     try {
-      Schema tableAvroSchema = getTableAvroSchemaFromDataFile();
-      return tableAvroSchema.getField(HoodieRecord.OPERATION_METADATA_FIELD) != null;
+      Option<String> dataFilePath = getValidDataFilePath();
+      if (dataFilePath.isPresent()) {
+        Schema tableAvroSchema = getTableAvroSchemaFromDataFile(dataFilePath.get());
+        return tableAvroSchema.getField(HoodieRecord.OPERATION_METADATA_FIELD) != null;
+      } else {
+        LOG.info("No data file found from last commit");
+        return false;
+      }
     } catch (Exception e) {
       return false;
     }
   }
+
+  private Option<String> getValidDataFilePath() {
+    HoodieActiveTimeline activeTimeline = metaClient.getActiveTimeline();
+    Option<Pair<HoodieInstant, HoodieCommitMetadata>> instantAndCommitMetadata =
+        activeTimeline.getLastCommitMetadataWithValidData();
+    if (instantAndCommitMetadata.isPresent()) {

Review comment:
       No need to branch, you can simply do `.map` on the Option

##########
File path: hudi-common/src/main/java/org/apache/hudi/common/table/TableSchemaResolver.java
##########
@@ -70,43 +71,36 @@ public TableSchemaResolver(HoodieTableMetaClient metaClient) {
     this.hasOperationField = hasOperationField();
   }
 
+  private MessageType getTableParquetSchemaFromDataFile() {
+    Option<String> dataFilePath = getValidDataFilePath();
+    if (dataFilePath.isPresent()) {

Review comment:
       More idiomatic would be 
   
   ```
   String dataFilePath = getValidDataFilePath().orElseThrow(() -> throw ...);
   ```

##########
File path: hudi-common/src/main/java/org/apache/hudi/common/table/TableSchemaResolver.java
##########
@@ -523,10 +518,29 @@ public boolean isHasOperationField() {
 
   private boolean hasOperationField() {
     try {
-      Schema tableAvroSchema = getTableAvroSchemaFromDataFile();
-      return tableAvroSchema.getField(HoodieRecord.OPERATION_METADATA_FIELD) != null;
+      Option<String> dataFilePath = getValidDataFilePath();
+      if (dataFilePath.isPresent()) {

Review comment:
       Same here, `return opt.map(...).getOrElse(false)` would be more idiomatic




-- 
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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092",
       "triggerID" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093",
       "triggerID" : "1042871608",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "d32f1ae27baf09d619b065bfaa174c154239c1cc",
       "triggerType" : "PUSH"
     }, {
       "hash" : "79a1360fb8ff7978bd1f9e9535b5299e8e930f97",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6233",
       "triggerID" : "79a1360fb8ff7978bd1f9e9535b5299e8e930f97",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b857ec45542c2eb8087d7a7fda3ff3d10772d13e",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6314",
       "triggerID" : "b857ec45542c2eb8087d7a7fda3ff3d10772d13e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * d32f1ae27baf09d619b065bfaa174c154239c1cc UNKNOWN
   * 79a1360fb8ff7978bd1f9e9535b5299e8e930f97 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6233) 
   * b857ec45542c2eb8087d7a7fda3ff3d10772d13e Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6314) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092",
       "triggerID" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093",
       "triggerID" : "1042871608",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * ebdfdb21fc482f2b7792e5b5392cc5ef3f342882 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092) Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 3941ceceb507a555a80ada072afdbc7f6ad79d91 Azure: [CANCELED](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830) 
   * 761821810bc67902553c37dcbfb40c61abd4e7c8 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 09217dbc34c15ccb5259cb4168ed9e221ac92bf1 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * 5b30050839b20af92e0477955829b19fc22a8192 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084) 
   
   <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] huberylee edited a comment on pull request #4773: [HUDI-3400] Avoid throw exception when create hoodie table

Posted by GitBox <gi...@apache.org>.
huberylee edited a comment on pull request #4773:
URL: https://github.com/apache/hudi/pull/4773#issuecomment-1042590299


   > 
   
   @alexeykudinkin This PR is intending to avoid printing too many exception stacks when creating hoodie table.  When creating hoodie table, no data files in table path(or no `HoodieDataBlock` in log file), so `TableSchemaResolver#hasOperationField` returns false by catching `IllegalArgumentException`(or `NullPointerException`), and many exception stacks are printed. Too many exception stacks in log may affect troubleshooting.


-- 
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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * 5b30050839b20af92e0477955829b19fc22a8192 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084) 
   * eaad144372c5de2c1868cbe246281300a334b655 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * 5b30050839b20af92e0477955829b19fc22a8192 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084) 
   * eaad144372c5de2c1868cbe246281300a334b655 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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * eaad144372c5de2c1868cbe246281300a334b655 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5b30050839b20af92e0477955829b19fc22a8192",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6084",
       "triggerID" : "5b30050839b20af92e0477955829b19fc22a8192",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eaad144372c5de2c1868cbe246281300a334b655",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086",
       "triggerID" : "eaad144372c5de2c1868cbe246281300a334b655",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092",
       "triggerID" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "triggerType" : "PUSH"
     }, {
       "hash" : "ebdfdb21fc482f2b7792e5b5392cc5ef3f342882",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093",
       "triggerID" : "1042871608",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * eaad144372c5de2c1868cbe246281300a334b655 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6086) 
   * ebdfdb21fc482f2b7792e5b5392cc5ef3f342882 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6092) Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6093) 
   
   <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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 09217dbc34c15ccb5259cb4168ed9e221ac92bf1 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856) 
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * 2ea93235cbd3a9b7d739616899590a26729f6174 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049) 
   * 65c8457ddb07ca94312168de529a2b293d40349e 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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     }, {
       "hash" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053",
       "triggerID" : "65c8457ddb07ca94312168de529a2b293d40349e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * 65c8457ddb07ca94312168de529a2b293d40349e Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6053) 
   
   <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] nsivabalan commented on pull request #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   @alexeykudinkin : Can you review this patch as well. 


-- 
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 #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5830",
       "triggerID" : "3941ceceb507a555a80ada072afdbc7f6ad79d91",
       "triggerType" : "PUSH"
     }, {
       "hash" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5832",
       "triggerID" : "761821810bc67902553c37dcbfb40c61abd4e7c8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856",
       "triggerID" : "09217dbc34c15ccb5259cb4168ed9e221ac92bf1",
       "triggerType" : "PUSH"
     }, {
       "hash" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049",
       "triggerID" : "2ea93235cbd3a9b7d739616899590a26729f6174",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 09217dbc34c15ccb5259cb4168ed9e221ac92bf1 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=5856) 
   * cba4eaeedfa9c5fa6971b2fe24e98ff4469a0a15 UNKNOWN
   * 2ea93235cbd3a9b7d739616899590a26729f6174 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6049) 
   
   <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] leesf commented on a change in pull request #4773: [HUDI-3400] Avoid throw exception when create hoodie table

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



##########
File path: hudi-common/src/main/java/org/apache/hudi/common/table/TableSchemaResolver.java
##########
@@ -70,48 +71,42 @@ public TableSchemaResolver(HoodieTableMetaClient metaClient) {
     this.hasOperationField = hasOperationField();
   }
 
+  private Option<MessageType> getTableParquetSchemaFromDataFile() {
+    String dataFilePath = getValidDataFilePath().orElseThrow(() -> new IllegalArgumentException(
+        "Could not find any data file written for commit, so could not get schema for table "
+            + metaClient.getBasePath()));
+    return getTableParquetSchemaFromDataFile(dataFilePath);
+  }
+
   /**
    * Gets the schema for a hoodie table. Depending on the type of table, read from any file written in the latest
    * commit. We will assume that the schema has not changed within a single atomic write.
    *
-   * @return Parquet schema for this table
+   * @return Parquet schema for this table, or {@code Option.empty()} if read from the log file has no {@code HoodieDataBlock}

Review comment:
       `or {@code Option.empty()} if there is no {@code HoodieDataBlock} from log file`
   and would you give some description about the filePath? is it basefile or logfile?




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