Ask Your Question
1

Are IS_NUMERIC and IS_SPACES the same in BigQuery?

asked 2021-11-13 11:00:00 +0000

ladyg gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2022-05-25 20:00:00 +0000

huitzilopochtli gravatar image

No, ISNUMERIC and ISSPACES are not the same in BigQuery.

ISNUMERIC is a function that checks if a string can be converted to a numerical value. For example, ISNUMERIC("123") would return true, but IS_NUMERIC("123a") would return false.

ISSPACES is a function that checks if a string consists only of whitespace characters. For example, ISSPACES(" \t\n") would return true, but IS_SPACES(" hello ") would return false.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-11-13 11:00:00 +0000

Seen: 11 times

Last updated: May 25 '22