We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
table 's column order is : order_id1, order_id2, order_id3, order_id4, order_time
spark-sql> select order_id2, order_id1 from test1; 22/11/19 22:51:48 WARN ScalaValueReader: Open scan result is, contextId: 6910e3ad-3efb-4dcb-aab3-7984ac3c1a6d, schema: Schema{status=0, properties=[Field{name='order_id1', type='INT', comment='', precision=0, scale=0}, Field{name='order_id2', type='BIGINT', comment='', precision=0, scale=0}]}. ===== filedField{name='order_id1', type='INT', comment='', precision=0, scale=0} mt:INT=== cr:order_id1 ===== filedField{name='order_id2', type='BIGINT', comment='', precision=0, scale=0} mt:BIGINT=== cr:order_id2 22/11/19 22:51:48 ERROR Executor: Exception in task 0.0 in stage 3.0 (TID 3) java.lang.RuntimeException: Error while encoding: java.lang.RuntimeException: java.lang.Integer is not a valid external type for schema of bigint if (assertnotnull(input[0, org.apache.spark.sql.Row, true]).isNullAt) null else validateexternaltype(getexternalrowfield(assertnotnull(input[0, org.apache.spark.sql.Row, true]), 0, order_id2), LongType) AS order_id2#30L if (assertnotnull(input[0, org.apache.spark.sql.Row, true]).isNullAt) null else validateexternaltype(getexternalrowfield(assertnotnull(input[0, org.apache.spark.sql.Row, true]), 1, order_id1), IntegerType) AS order_id1#31
The text was updated successfully, but these errors were encountered:
No branches or pull requests
table 's column order is : order_id1, order_id2, order_id3, order_id4, order_time
The text was updated successfully, but these errors were encountered: