0

I am trying to use sql function in my BigQuery query :

SELECT FORMAT("%T", NET.HOST(resolved_urls.url)) AS host, FROM [tableName] LIMIT 1000

But I get the following error:

Error: 2.15 - 2.55: Unrecognized function format

I am getting these error for every sql function i am trying to use.

Any Idea ? thank you

1 Answer 1

2

Those new functions are supported by BigQuery Standard SQL only

Try below

#standardSQL
SELECT FORMAT("%T", NET.HOST(resolved_urls.url)) AS host, FROM tableName LIMIT 1000

Also note: in Standard SQL you use `tableName` and not [tableName]

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.