-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-9390][SQL] create a wrapper for array type #7724
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the generic get and array method is useful in interpreted mode, but it's a lot painful to handle Any between scala and java, so I put this interface in scala.
|
cc @rxin |
|
Test build #38685 has finished for PR 7724 at commit
|
|
cc @rxin, I underestimated this work, It took me a lot of time to cover all corner cases... |
|
Test build #38707 has finished for PR 7724 at commit
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should avoid using InternalRow in test directly, which means we are manually converting external type to internal type. Using Row and let converter do this work seems better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That makes sense.
|
Test build #38708 has finished for PR 7724 at commit
|
|
Test build #38710 has finished for PR 7724 at commit
|
|
Test build #38718 has finished for PR 7724 at commit
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you move this into its own file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need specialized version of toArray, and get rid of calling generic getter inside it. We can do it after adding special getter for map and removing generic getter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
|
Test build #38790 has finished for PR 7724 at commit
|
|
Test build #38797 has finished for PR 7724 at commit
|
|
Test build #38804 has finished for PR 7724 at commit
|
|
Test build #38818 has finished for PR 7724 at commit
|
|
Test build #38824 has finished for PR 7724 at commit
|
|
retest this please. |
|
Test build #145 has finished for PR 7724 at commit
|
|
Test build #38831 has finished for PR 7724 at commit
|
0772ca0 to
e9f2fc6
Compare
|
Test build #38846 has finished for PR 7724 at commit
|
|
Test build #38844 has finished for PR 7724 at commit
|
|
Test build #38931 has finished for PR 7724 at commit
|
|
cc @rxin I think it's close, there is still a pyspark doc string test failue: Does any body have an idea on it? One possible reason I guess is: before ArrayData, we use |
|
cc @davies can you take a look? |
|
Test build #38981 has finished for PR 7724 at commit
|
|
retest this please. |
|
Test build #153 has finished for PR 7724 at commit
|
|
Test build #38990 has finished for PR 7724 at commit
|
|
retest this please. |
|
Test build #157 has finished for PR 7724 at commit
|
|
Test build #39007 has finished for PR 7724 at commit
|
|
Test build #39025 has finished for PR 7724 at commit
|
|
cc @rxin, I'll specialize |
|
Thanks - I've merged this. |
No description provided.