Uh oh!
There was an error while loading. Please reload this page.
[SPARK-3412][SQL]add missing row api - #2529
Conversation
SparkQA
commented
Sep 25, 2014
QA tests have started for PR 2529 at commit
|
SparkQA
commented
Sep 25, 2014
QA tests have finished for PR 2529 at commit
|
AmplabJenkins
commented
Sep 25, 2014
Test PASSed. |
There was a problem hiding this comment.
I don't think there is any reason to have this function. The update call works independent of type already.
marmbrus
commented
Sep 26, 2014
Thanks for working on this! A few minor comments. |
SparkQA
commented
Sep 28, 2014
QA tests have started for PR 2529 at commit
|
SparkQA
commented
Sep 28, 2014
Tests timed out after a configured wait of |
AmplabJenkins
commented
Sep 28, 2014
Test FAILed. |
adrian-wang
commented
Sep 30, 2014
retest this please. |
AmplabJenkins
commented
Sep 30, 2014
Test FAILed. |
SparkQA
commented
Sep 30, 2014
QA tests have started for PR 2529 at commit
|
adrian-wang
commented
Sep 30, 2014
retest this please. |
AmplabJenkins
commented
Sep 30, 2014
Test FAILed. |
SparkQA
commented
Sep 30, 2014
QA tests have started for PR 2529 at commit
|
SparkQA
commented
Sep 30, 2014
QA tests have finished for PR 2529 at commit
|
SparkQA
commented
Sep 30, 2014
QA tests have finished for PR 2529 at commit
|
There was a problem hiding this comment.
You don't want the first .asInstanceOfhere as it can cause errors.
scala>newSpecificMutableRow(IntegerType::Nil).getAs[Int](0)
java.lang.ClassCastException: org.apache.spark.sql.catalyst.expressions.MutableInt cannot be cast to org.apache.spark.sql.catalyst.expressions.MutableAnySince all MutableValue classes have a .value method I think you can just leave it out.
There was a problem hiding this comment.
Also, looks like this file has always been named wrong. Would you mind fixing that (to SpecificMutableRow.scala) while you are at it?
marmbrus
commented
Oct 1, 2014
Only one small change then this LGTM. |
SparkQA
commented
Oct 8, 2014
QA tests have started for PR 2529 at commit
|
AmplabJenkins
commented
Oct 8, 2014
Test FAILed. |
adrian-wang
commented
Oct 8, 2014
retest this please. |
SparkQA
commented
Oct 8, 2014
QA tests have started for PR 2529 at commit
|
SparkQA
commented
Oct 8, 2014
QA tests have finished for PR 2529 at commit
|
AmplabJenkins
commented
Oct 8, 2014
Test PASSed. |
SparkQA
commented
Oct 8, 2014
QA tests have finished for PR 2529 at commit
|
AmplabJenkins
commented
Oct 8, 2014
Test FAILed. |
adrian-wang
commented
Oct 8, 2014
retest this please. |
SparkQA
commented
Oct 8, 2014
QA tests have started for PR 2529 at commit
|
SparkQA
commented
Oct 8, 2014
QA tests have finished for PR 2529 at commit
|
AmplabJenkins
commented
Oct 8, 2014
Test PASSed. |
There was a problem hiding this comment.
Can't this just be override def getAs[T](i: Int): T = values(i).boxed.asInstanceOf[T]?
There was a problem hiding this comment.
And I'm sorry for going back again. I should have said boxed instead of value in my previous comment.
There was a problem hiding this comment.
Sorry for miss that, I didn't notice .boxed method there...
SparkQA
commented
Oct 9, 2014
QA tests have started for PR 2529 at commit
|
SparkQA
commented
Oct 9, 2014
QA tests have finished for PR 2529 at commit
|
AmplabJenkins
commented
Oct 9, 2014
Test PASSed. |
marmbrus
commented
Oct 9, 2014
Thanks! Merged to master. |
@chenghao-intel assigned this to me, check PR #2284 for previous discussion