You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/12/18 10:09:50 UTC

[GitHub] [spark] AngersZhuuuu opened a new pull request #30839: [SPARK-33593][SQL] Vector reader got incorrect data with binary partition value

AngersZhuuuu opened a new pull request #30839:
URL: https://github.com/apache/spark/pull/30839


   ### What changes were proposed in this pull request?
   
   Currently when enable parquet vectorized reader, use binary type as partition col will return incorrect value as below UT
   ```scala
   test("Parquet vector reader incorrect with binary partition value") {
     Seq(false, true).foreach(tag => {
       withSQLConf("spark.sql.parquet.enableVectorizedReader" -> tag.toString) {
         withTable("t1") {
           sql(
             """CREATE TABLE t1(name STRING, id BINARY, part BINARY)
               | USING PARQUET PARTITIONED BY (part)""".stripMargin)
           sql(s"INSERT INTO t1 PARTITION(part = 'Spark SQL') VALUES('a', X'537061726B2053514C')")
           if (tag) {
             checkAnswer(sql("SELECT name, cast(id as string), cast(part as string) FROM t1"),
               Row("a", "Spark SQL", ""))
           } else {
             checkAnswer(sql("SELECT name, cast(id as string), cast(part as string) FROM t1"),
               Row("a", "Spark SQL", "Spark SQL"))
           }
         }
       }
     })
   }
   ```
   
   
   ### Why are the changes needed?
   Fix data incorrect issue
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   Added UT
   


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

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


[GitHub] [spark] AngersZhuuuu commented on pull request #30839: [SPARK-33593][SQL][FOLLOW-UP][3.0] Vector reader got incorrect data with binary partition value

Posted by GitBox <gi...@apache.org>.
AngersZhuuuu commented on pull request #30839:
URL: https://github.com/apache/spark/pull/30839#issuecomment-748110512


   retest this please


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

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


[GitHub] [spark] AmplabJenkins commented on pull request #30839: [SPARK-33593][SQL][3.0] Vector reader got incorrect data with binary partition value

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #30839:
URL: https://github.com/apache/spark/pull/30839#issuecomment-748273706


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133021/
   


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

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


[GitHub] [spark] SparkQA commented on pull request #30839: [SPARK-33593][SQL][FOLLOW-UP][3.0] Vector reader got incorrect data with binary partition value

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30839:
URL: https://github.com/apache/spark/pull/30839#issuecomment-748030863


   Kubernetes integration test status success
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37609/
   


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

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


[GitHub] [spark] AmplabJenkins removed a comment on pull request #30839: [SPARK-33593][SQL][FOLLOW-UP][3.0] Vector reader got incorrect data with binary partition value

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #30839:
URL: https://github.com/apache/spark/pull/30839#issuecomment-748155644


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37620/
   


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

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


[GitHub] [spark] SparkQA removed a comment on pull request #30839: [SPARK-33593][SQL][3.0] Vector reader got incorrect data with binary partition value

Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #30839:
URL: https://github.com/apache/spark/pull/30839#issuecomment-748112515


   **[Test build #133021 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/133021/testReport)** for PR 30839 at commit [`36335b8`](https://github.com/apache/spark/commit/36335b8fb2812cb28658b1fde0f502b2183ccbd0).


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

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


[GitHub] [spark] AmplabJenkins removed a comment on pull request #30839: [SPARK-33593][SQL][3.0] Vector reader got incorrect data with binary partition value

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #30839:
URL: https://github.com/apache/spark/pull/30839#issuecomment-748273706


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133021/
   


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

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


[GitHub] [spark] AmplabJenkins removed a comment on pull request #30839: [SPARK-33593][SQL][FOLLOW-UP][3.0] Vector reader got incorrect data with binary partition value

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #30839:
URL: https://github.com/apache/spark/pull/30839#issuecomment-748106788


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133010/
   


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

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


[GitHub] [spark] SparkQA commented on pull request #30839: [SPARK-33593][SQL][3.0] Vector reader got incorrect data with binary partition value

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30839:
URL: https://github.com/apache/spark/pull/30839#issuecomment-748257132


   **[Test build #133021 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/133021/testReport)** for PR 30839 at commit [`36335b8`](https://github.com/apache/spark/commit/36335b8fb2812cb28658b1fde0f502b2183ccbd0).
    * This patch passes all tests.
    * This patch merges cleanly.
    * This patch adds no public classes.


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

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


[GitHub] [spark] SparkQA removed a comment on pull request #30839: [SPARK-33593][SQL][FOLLOW-UP][3.0] Vector reader got incorrect data with binary partition value

Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #30839:
URL: https://github.com/apache/spark/pull/30839#issuecomment-748005880


   **[Test build #133010 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/133010/testReport)** for PR 30839 at commit [`36335b8`](https://github.com/apache/spark/commit/36335b8fb2812cb28658b1fde0f502b2183ccbd0).


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

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


[GitHub] [spark] AmplabJenkins commented on pull request #30839: [SPARK-33593][SQL][FOLLOW-UP][3.0] Vector reader got incorrect data with binary partition value

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #30839:
URL: https://github.com/apache/spark/pull/30839#issuecomment-748155644


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37620/
   


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

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


[GitHub] [spark] SparkQA commented on pull request #30839: [SPARK-33593][SQL][FOLLOW-UP][3.0] Vector reader got incorrect data with binary partition value

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30839:
URL: https://github.com/apache/spark/pull/30839#issuecomment-748005880


   **[Test build #133010 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/133010/testReport)** for PR 30839 at commit [`36335b8`](https://github.com/apache/spark/commit/36335b8fb2812cb28658b1fde0f502b2183ccbd0).


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

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


[GitHub] [spark] AmplabJenkins removed a comment on pull request #30839: [SPARK-33593][SQL][FOLLOW-UP][3.0] Vector reader got incorrect data with binary partition value

Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #30839:
URL: https://github.com/apache/spark/pull/30839#issuecomment-748030885


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37609/
   


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

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


[GitHub] [spark] SparkQA commented on pull request #30839: [SPARK-33593][SQL][FOLLOW-UP][3.0] Vector reader got incorrect data with binary partition value

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30839:
URL: https://github.com/apache/spark/pull/30839#issuecomment-748155611


   Kubernetes integration test status success
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37620/
   


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

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


[GitHub] [spark] SparkQA commented on pull request #30839: [SPARK-33593][SQL][FOLLOW-UP][3.0] Vector reader got incorrect data with binary partition value

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30839:
URL: https://github.com/apache/spark/pull/30839#issuecomment-748022454


   Kubernetes integration test starting
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37609/
   


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

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


[GitHub] [spark] SparkQA commented on pull request #30839: [SPARK-33593][SQL][FOLLOW-UP][3.0] Vector reader got incorrect data with binary partition value

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30839:
URL: https://github.com/apache/spark/pull/30839#issuecomment-748137123


   Kubernetes integration test starting
   URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37620/
   


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

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


[GitHub] [spark] SparkQA commented on pull request #30839: [SPARK-33593][SQL][FOLLOW-UP][3.0] Vector reader got incorrect data with binary partition value

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30839:
URL: https://github.com/apache/spark/pull/30839#issuecomment-748112515


   **[Test build #133021 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/133021/testReport)** for PR 30839 at commit [`36335b8`](https://github.com/apache/spark/commit/36335b8fb2812cb28658b1fde0f502b2183ccbd0).


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

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


[GitHub] [spark] AmplabJenkins commented on pull request #30839: [SPARK-33593][SQL][FOLLOW-UP][3.0] Vector reader got incorrect data with binary partition value

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #30839:
URL: https://github.com/apache/spark/pull/30839#issuecomment-748106788


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133010/
   


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

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


[GitHub] [spark] AmplabJenkins commented on pull request #30839: [SPARK-33593][SQL][FOLLOW-UP][3.0] Vector reader got incorrect data with binary partition value

Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #30839:
URL: https://github.com/apache/spark/pull/30839#issuecomment-748030885


   
   Refer to this link for build results (access rights to CI server needed): 
   https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37609/
   


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

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


[GitHub] [spark] dongjoon-hyun closed pull request #30839: [SPARK-33593][SQL][3.0] Vector reader got incorrect data with binary partition value

Posted by GitBox <gi...@apache.org>.
dongjoon-hyun closed pull request #30839:
URL: https://github.com/apache/spark/pull/30839


   


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

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


[GitHub] [spark] SparkQA commented on pull request #30839: [SPARK-33593][SQL][FOLLOW-UP][3.0] Vector reader got incorrect data with binary partition value

Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30839:
URL: https://github.com/apache/spark/pull/30839#issuecomment-748092436


   **[Test build #133010 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/133010/testReport)** for PR 30839 at commit [`36335b8`](https://github.com/apache/spark/commit/36335b8fb2812cb28658b1fde0f502b2183ccbd0).
    * This patch **fails Spark unit tests**.
    * This patch merges cleanly.
    * This patch adds no public classes.


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

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