Skip to content
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 broken numeric and bignumeric type mapping in BigQuery connector #10564

Closed
ebyhr opened this issue Jan 12, 2022 · 0 comments · Fixed by #10565
Closed

Fix broken numeric and bignumeric type mapping in BigQuery connector #10564

ebyhr opened this issue Jan 12, 2022 · 0 comments · Fixed by #10565
Assignees
Labels
bug Something isn't working

Comments

@ebyhr
Copy link
Member

ebyhr commented Jan 12, 2022

testBigNumericMapping and testNumericMapping in TestBigQueryTypeMapping keep failing.

io.trino.spi.TrinoException: Unhandled type for Int128: decimal(24,2)
	at io.trino.plugin.bigquery.BigQueryResultPageSource.appendTo(BigQueryResultPageSource.java:206)
	at io.trino.plugin.bigquery.BigQueryResultPageSource.getNextPage(BigQueryResultPageSource.java:143)
	at io.trino.operator.TableScanOperator.getOutput(TableScanOperator.java:311)
	at io.trino.operator.Driver.processInternal(Driver.java:388)
	at io.trino.operator.Driver.lambda$processFor$9(Driver.java:292)
	at io.trino.operator.Driver.tryWithLock(Driver.java:685)
	at io.trino.operator.Driver.processFor(Driver.java:285)
	at io.trino.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:1076)
	at io.trino.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:163)
	at io.trino.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:488)
	at io.trino.$gen.Trino_testversion____20220112_103240_2.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

fb88c0b introduced this bug.

@ebyhr ebyhr added the bug Something isn't working label Jan 12, 2022
@ebyhr ebyhr self-assigned this Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

1 participant