Uh oh!
There was an error while loading. Please reload this page.
[SPARK-6546][Build] Using the wrong code that will make spark compile failed!! - #5198
[SPARK-6546][Build] Using the wrong code that will make spark compile failed!!#5198pzzs wants to merge 9 commits into
Conversation
merge lastest spark
merge lastest spark
merge lastest spark
merge lastest spark
merge lastest spark
merge lastest spark
merge lastest spark
AmplabJenkins
commented
Mar 26, 2015
Can one of the admins verify this patch? |
pzzs
commented
Mar 26, 2015
i think this is pressing @marmbrus |
JoshRosen
commented
Mar 26, 2015
Jenkins, this is ok to test. |
JoshRosen
commented
Mar 26, 2015
Do you know which PR broke this? |
liancheng
commented
Mar 26, 2015
@JoshRosen It should be #4289. |
SparkQA
commented
Mar 26, 2015
Test build #29206 has started for PR 5198 at commit
|
liancheng
commented
Mar 26, 2015
�This LGTM pending Jenkins. #4289 somehow passed Jenkins, however the build history has been cleaned now. |
liancheng
commented
Mar 26, 2015
@JoshRosen@marmbrus#4289 was using Guava's |
SparkQA
commented
Mar 26, 2015
Test build #29206 has finished for PR 5198 at commit
|
AmplabJenkins
commented
Mar 26, 2015
Test PASSed. |
pzzs
commented
Mar 26, 2015
you are right @liancheng |
…atch table schema In hive,the schema of partition may be difference from the table schema.When we use spark-sql to query the data of partition which schema is difference from the table schema,we will get the exceptions as the description of the [jira](https://issues.apache.org/jira/browse/SPARK-5498) .For example: * We take a look of the schema for the partition and the table ```sql DESCRIBE partition_test PARTITION (dt='1'); id int None name string None dt string None # Partition Information # col_name data_type comment dt string None ``` ``` DESCRIBE partition_test; OK id bigint None name string None dt string None # Partition Information # col_name data_type comment dt string None ``` * run the sql ```sql SELECT * FROM partition_test where dt='1'; ``` we will get the cast exception `java.lang.ClassCastException: org.apache.spark.sql.catalyst.expressions.MutableLong cannot be cast to org.apache.spark.sql.catalyst.expressions.MutableInt` Author: jeanlyn <jeanlyn92@gmail.com> Closes#4289 from jeanlyn/schema and squashes the following commits: 9c8da74 [jeanlyn] fix style b41d6b9 [jeanlyn] fix compile errors 07d84b6 [jeanlyn] Merge branch 'master' into schema 535b0b6 [jeanlyn] reduce conflicts d6c93c5 [jeanlyn] fix bug 1e8b30c [jeanlyn] fix code style 0549759 [jeanlyn] fix code style c879aa1 [jeanlyn] clean the code 2a91a87 [jeanlyn] add more test case and clean the code 12d800d [jeanlyn] fix code style 63d170a [jeanlyn] fix compile problem 7470901 [jeanlyn] reduce conflicts afc7da5 [jeanlyn] make getConvertedOI compatible between 0.12.0 and 0.13.1 b1527d5 [jeanlyn] fix type mismatch 10744ca [jeanlyn] Insert a space after the start of the comment 3b27af3 [jeanlyn] SPARK-5498:fix bug when query the data when partition schema does not match table schema
liancheng
commented
Mar 26, 2015
@DoingDone9 Would you mind to add your name to JIRA and GitHub, so that we can include your name in the credit list of the next release? Also, please add your name in your local Git configuration: |
liancheng
commented
Mar 26, 2015
Merged into master, thanks! |
pzzs
commented
Mar 26, 2015
ok i will change @liancheng |
wrong code : val tmpDir = Files.createTempDir()
not Files should Utils