-
Notifications
You must be signed in to change notification settings - Fork 12
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
fix: Fixes types comparison #353
Conversation
c5d38c3
to
6b642e4
Compare
== or != compares reference while sameType compares the actual value. |
I created a streaming dataframe of the following schema: >> sdf.printSchema()
|-- event_timestamp: timestamp (nullable = true)
|-- key: binary (nullable = false)
|-- data: binary (nullable = true)
|-- attributes: map (nullable = false)
| |-- key: string
| |-- value: array (valueContainsNull = false)
| | |-- element: binary (containsNull = false) But writing it to Pub/Sub Lite still failed. The complaint is Lines 110 to 115 in 2739f69
|
@jiangmichaellll I tried a Python example after the scala library was included in the shaded jar, and it worked. |
Thanks for uncovering that deps issue! I am going to check this in and create another PR tmr to fix the deps issue. |
Fixes #261