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

Function CONTAINS_SUBSTR not found #34

Open
michaelknowles opened this issue Nov 24, 2023 · 0 comments
Open

Function CONTAINS_SUBSTR not found #34

michaelknowles opened this issue Nov 24, 2023 · 0 comments

Comments

@michaelknowles
Copy link

Trying to run a query like

select * from sms.AlpineIQ_clicks_5c698ba3_fbc4_49f1_b5c1_0a89927807c1 where CONTAINS_SUBSTR(link, 'val')

Receiving the following error:

Query error googleapi: Error 400: failed to analyze: INVALID_ARGUMENT: Function not found: CONTAINS_SUBSTR [at 1:78], jobInternalError

Function is listed in the BigQuery documentation here: https://cloud.google.com/bigquery/docs/reference/standard-sql/string_functions#contains_substr

Running against the docker container

      "org.opencontainers.image.created": "2023-07-21T14:51:18.820Z",
      "org.opencontainers.image.description": "BigQuery emulator server implemented in Go",
      "org.opencontainers.image.revision": "8ccde288d63846122e085433e0a03edfadba361c",
      "org.opencontainers.image.source": "https://github.com/goccy/bigquery-emulator",
      "org.opencontainers.image.title": "bigquery-emulator",
      "org.opencontainers.image.url": "https://github.com/goccy/bigquery-emulator",
      "org.opencontainers.image.version": "0.4.3"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant