goccy / bigquery-emulator

BigQuery emulator server implemented in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support of UNPIVOT operator

pavellety opened this issue · comments

What would you like to be added?

Hi, could you please consider to support UNPIVOT operator? Here is a doc: https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#unpivot_operator

Currently I am getting:

google.api_core.exceptions.InternalServerError: 500 failed to analyze: INVALID_ARGUMENT: UNPIVOT is not supported [at 48:13]; message: failed to analyze: INVALID_ARGUMENT: UNPIVOT is not supported [at 48:13], reason: jobInternalError

Thanks a lot,
Pavel

This was added in go-zetasqlite v0.19.2 goccy/go-zetasqlite@0e394c9 / bigquery-emulator v0.6.1. Are you on the latest versions?

Sorry I did not try new version I am currently on v0.6.0 because a few days ago there was not docker image for arm64 architecture. Do you plan to release it? Thanks a lot for reply.

Ok.. I have used --platform option as described in README.md. Sorry for stupid question :)