You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "pan3793 (via GitHub)" <gi...@apache.org> on 2025/10/21 13:52:01 UTC

[PR] [SPARK-53694][SQL][TESTS][4.0] Improve `V1WriteHiveCommandSuite` test coverage [spark]

pan3793 opened a new pull request, #52683:
URL: https://github.com/apache/spark/pull/52683

   Backport https://github.com/apache/spark/pull/52436 to branch-4.0 to recover CI.
   
   ### What changes were proposed in this pull request?
   
   Previously, `V1WriteHiveCommandSuite` uses `CREATE TABLE` without declaring `USING` or `STORED AS`, which relies on `spark.sql.legacy.createHiveTableByDefault`'s default value, SPARK-46122 changes the default value of `spark.sql.legacy.createHiveTableByDefault` from `true` to `false`, which implicitly affects this test suite.
   
   In addition, we should take `spark.sql.hive.convertMetastoreParquet` and `spark.sql.hive.convertMetastoreOrc` into account in `V1WriteHiveCommandSuite`
   
   ### Why are the changes needed?
   
   Restore and improve test coverage.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Pass GHA.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No.
   


-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-53694][SQL][TESTS][4.0] Improve `V1WriteHiveCommandSuite` test coverage [spark]

Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun commented on PR #52683:
URL: https://github.com/apache/spark/pull/52683#issuecomment-3429394338

   BTW, for the record, `branch-4.0` becomes healthy back.
   - https://github.com/apache/spark/tree/branch-4.0
     - https://github.com/apache/spark/actions/runs/18691053453


-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-53694][SQL][TESTS][4.0] Improve `V1WriteHiveCommandSuite` test coverage [spark]

Posted by "sarutak (via GitHub)" <gi...@apache.org>.
sarutak commented on PR #52683:
URL: https://github.com/apache/spark/pull/52683#issuecomment-3427931287

   @peter-toth 
   Hi @peter-toth , we need to close PRs manually for non `master` branches.


-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-53694][SQL][TESTS][4.0] Improve `V1WriteHiveCommandSuite` test coverage [spark]

Posted by "peter-toth (via GitHub)" <gi...@apache.org>.
peter-toth commented on PR #52683:
URL: https://github.com/apache/spark/pull/52683#issuecomment-3427625868

   Thanks @pan3793 for the fix!
   
   Merged to `branch-4.0` (4.0.2).
   
   I will check back later and see if `branch-4.0` compilation is fixed.


-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-53694][SQL][TESTS][4.0] Improve `V1WriteHiveCommandSuite` test coverage [spark]

Posted by "peter-toth (via GitHub)" <gi...@apache.org>.
peter-toth commented on PR #52683:
URL: https://github.com/apache/spark/pull/52683#issuecomment-3426964571

   Ok, once tests pass I will merge this.


-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-53694][SQL][TESTS][4.0] Improve `V1WriteHiveCommandSuite` test coverage [spark]

Posted by "peter-toth (via GitHub)" <gi...@apache.org>.
peter-toth commented on PR #52683:
URL: https://github.com/apache/spark/pull/52683#issuecomment-3430935296

   Thanks @dongjoon-hyun for the confirmation, I checked it yesterday too.


-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-53694][SQL][TESTS][4.0] Improve `V1WriteHiveCommandSuite` test coverage [spark]

Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 commented on PR #52683:
URL: https://github.com/apache/spark/pull/52683#issuecomment-3426810522

   @peter-toth seems branch-4.0 fails to compile due to lack of this patch ...


-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-53694][SQL][TESTS][4.0] Improve `V1WriteHiveCommandSuite` test coverage [spark]

Posted by "peter-toth (via GitHub)" <gi...@apache.org>.
peter-toth commented on PR #52683:
URL: https://github.com/apache/spark/pull/52683#issuecomment-3427943967

   Thanks @sarutak, noted.


-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-53694][SQL][TESTS][4.0] Improve `V1WriteHiveCommandSuite` test coverage [spark]

Posted by "sarutak (via GitHub)" <gi...@apache.org>.
sarutak closed pull request #52683: [SPARK-53694][SQL][TESTS][4.0] Improve `V1WriteHiveCommandSuite` test coverage
URL: https://github.com/apache/spark/pull/52683


-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org