You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "MaxGekk (via GitHub)" <gi...@apache.org> on 2023/12/09 11:26:34 UTC

[PR] [WIP][SQL] Replace `IllegalStateException` by `SparkException.internalError` in sql/core [spark]

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

   ### What changes were proposed in this pull request?
   In the PR, I propose to replace all `IllegalStateException` exception in `sql/core` by `SparkException.internalError`.
   
   ### Why are the changes needed?
   This is a part of migration onto new error framework and error classes.
   
   ### Does this PR introduce _any_ user-facing change?
   No, users shouldn't face to `IllegalStateException` in regular cases.
   
   ### How was this patch tested?
   Using existing GAs.
   
   ### 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-46342][SQL] Replace `IllegalStateException` by `SparkException.internalError` in sql [spark]

Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun closed pull request #44275: [SPARK-46342][SQL] Replace `IllegalStateException` by `SparkException.internalError` in sql
URL: https://github.com/apache/spark/pull/44275


-- 
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-46342][SQL] Replace `IllegalStateException` by `SparkException.internalError` in sql [spark]

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

   late LGTM


-- 
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-46342][SQL] Replace `IllegalStateException` by `SparkException.internalError` in sql [spark]

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

   @HeartSaVioR I had to exclude `streaming` because `IllegalStateException` isn't considered there as something unusual like an internal error in other parts of Spark SQL.


-- 
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-46342][SQL] Replace `IllegalStateException` by `SparkException.internalError` in sql [spark]

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

   @LuciferYang @cloud-fan It is similar to https://github.com/apache/spark/pull/44263 but I cover entire SQL except of streaming.


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