-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-5141][SQL]CaseInsensitiveMap throws java.io.NotSerializableException #3944
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
|
Can one of the admins verify this patch? |
|
Aactually i do not think we should make |
|
Can you give more information on cases when this causes problem? |
|
According to Yin Huai in https://issues.apache.org/jira/browse/SPARK-5141 , set jdbcProps |
|
@rxin CaseInsensitiveMap is used to pass options to a user defined relation resolver for creating a relation. If this map is passed into the created relation, we will try to serialize it with the closure. @marmbrus and I talked about it offline yesterday. Maybe it is a good idea to just make it serializable. So, developers will not need to worry about this issue at all. |
|
sgtm to make it serializable, and also fixing the transient problem. |
|
@luogankun Can you reopen it? Thank you and sorry about the inconvenience. |
|
Can one of the admins verify this patch? |
|
ok to test |
|
Test build #25352 has started for PR 3944 at commit
|
|
Test build #25352 has finished for PR 3944 at commit
|
|
Test PASSed. |
|
oh, since users may pass the |
|
Merging in master. Thanks! |
CaseInsensitiveMap throws java.io.NotSerializableException.