You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "nsivabalan (via GitHub)" <gi...@apache.org> on 2023/03/13 20:27:05 UTC

[GitHub] [hudi] nsivabalan opened a new pull request, #8174: [HUDI-5688] Fixing read of an empty table

nsivabalan opened a new pull request, #8174:
URL: https://github.com/apache/hudi/pull/8174

   ### Change Logs
   
   Read of an empty table on some occasions might result in NPE. Fixing it in this patch. Hudi will return an EmptyRelation with null StructType. 
   
   ### Impact
   
   Improves usability of reading hudi of an empty table. 
   
   ### Risk level (write none, low medium or high below)
   
   low.
   
   ### Documentation Update
   
   _Describe any necessary documentation update if there is any new feature, config, or user-facing change_
   
   - _The config description must be updated if new configs are added or the default value of the configs are changed_
   - _Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
     ticket number here and follow the [instruction](https://hudi.apache.org/contribute/developer-setup#website) to make
     changes to the website._
   
   ### Contributor's checklist
   
   - [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Change Logs and Impact were stated clearly
   - [ ] Adequate tests were added if applicable
   - [ ] CI passed
   


-- 
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 #8174: [HUDI-5688] Fixing read of an empty table

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #8174:
URL: https://github.com/apache/hudi/pull/8174#issuecomment-1467201146

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e3014478fed090f1e10e792d8a894349a2a083ed",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=15699",
       "triggerID" : "e3014478fed090f1e10e792d8a894349a2a083ed",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * e3014478fed090f1e10e792d8a894349a2a083ed Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=15699) 
   
   <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


Re: [PR] [HUDI-5688] Fixing read of an empty table [hudi]

Posted by "yihua (via GitHub)" <gi...@apache.org>.
yihua commented on PR #8174:
URL: https://github.com/apache/hudi/pull/8174#issuecomment-1986761091

   Reading an empty table is fixed in #10689 and the same test is added in that PR.  Closing this one.


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


Re: [PR] [HUDI-5688] Fixing read of an empty table [hudi]

Posted by "bvaradar (via GitHub)" <gi...@apache.org>.
bvaradar commented on PR #8174:
URL: https://github.com/apache/hudi/pull/8174#issuecomment-1847960085

   @nsivabalan : Is this PR still relevant ? If so, aim to get in the next release ?
   


-- 
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 #8174: [HUDI-5688] Fixing read of an empty table

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #8174:
URL: https://github.com/apache/hudi/pull/8174#issuecomment-1466930717

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e3014478fed090f1e10e792d8a894349a2a083ed",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=15699",
       "triggerID" : "e3014478fed090f1e10e792d8a894349a2a083ed",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * e3014478fed090f1e10e792d8a894349a2a083ed Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=15699) 
   
   <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 #8174: [HUDI-5688] Fixing read of an empty table

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #8174:
URL: https://github.com/apache/hudi/pull/8174#issuecomment-1732678768

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e3014478fed090f1e10e792d8a894349a2a083ed",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=15699",
       "triggerID" : "e3014478fed090f1e10e792d8a894349a2a083ed",
       "triggerType" : "PUSH"
     }, {
       "hash" : "339d0e0b4fde4123850377c48972ba4b39df377e",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=20122",
       "triggerID" : "339d0e0b4fde4123850377c48972ba4b39df377e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 339d0e0b4fde4123850377c48972ba4b39df377e Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=20122) 
   
   <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


Re: [PR] [HUDI-5688] Fixing read of an empty table [hudi]

Posted by "yihua (via GitHub)" <gi...@apache.org>.
yihua closed pull request #8174: [HUDI-5688] Fixing read of an empty table
URL: https://github.com/apache/hudi/pull/8174


-- 
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 #8174: [HUDI-5688] Fixing read of an empty table

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #8174:
URL: https://github.com/apache/hudi/pull/8174#issuecomment-1466920946

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e3014478fed090f1e10e792d8a894349a2a083ed",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "e3014478fed090f1e10e792d8a894349a2a083ed",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * e3014478fed090f1e10e792d8a894349a2a083ed 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 #8174: [HUDI-5688] Fixing read of an empty table

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #8174:
URL: https://github.com/apache/hudi/pull/8174#issuecomment-1732658636

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e3014478fed090f1e10e792d8a894349a2a083ed",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=15699",
       "triggerID" : "e3014478fed090f1e10e792d8a894349a2a083ed",
       "triggerType" : "PUSH"
     }, {
       "hash" : "339d0e0b4fde4123850377c48972ba4b39df377e",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=20122",
       "triggerID" : "339d0e0b4fde4123850377c48972ba4b39df377e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * e3014478fed090f1e10e792d8a894349a2a083ed Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=15699) 
   * 339d0e0b4fde4123850377c48972ba4b39df377e Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=20122) 
   
   <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 #8174: [HUDI-5688] Fixing read of an empty table

Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #8174:
URL: https://github.com/apache/hudi/pull/8174#issuecomment-1732656984

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "e3014478fed090f1e10e792d8a894349a2a083ed",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=15699",
       "triggerID" : "e3014478fed090f1e10e792d8a894349a2a083ed",
       "triggerType" : "PUSH"
     }, {
       "hash" : "339d0e0b4fde4123850377c48972ba4b39df377e",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "339d0e0b4fde4123850377c48972ba4b39df377e",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * e3014478fed090f1e10e792d8a894349a2a083ed Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=15699) 
   * 339d0e0b4fde4123850377c48972ba4b39df377e 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