Spark data type confusion on Spark structured streaming dataframe

Viewed 13

I am trying to query on streaming dataframe called activationsDF, but an attribute of this dataframe (productPrice) is confusing.

enter image description here

As you can see, productPrice is shown as integer, but when I tried to query,type mismatch error given.

Do you have any idea how it can be solved?

Thank you.

0 Answers
Related