Big Query 不接受 EMOJI

Big Query do not accept EMOJI

我有这种格式的表情符号 - \U0001f924为什么 BigQuery(Google Data studio)不显示它们,即使我看到了这种格式适用于其他人的示例?

示例: - 这种格式的第二个表情符号 \u2614

参考:

基于这篇文章,它应该可以工作: Google \Uhhhhhhhh Format

更新 1.0:

如果我使用 "" 那么这种格式的表情符号 \U2714 显示表情符号,这个 \U0001f680 仍然与文本相同 U0001f680

如果我使用 '' 那么这种格式的表情符号 \U2714 以及 \U0001f680 仅显示值 U2714 and U0001f680

The emoji on the question works for me with SELECT "\U0001f680":

I stored the results in a table so you can find it:

If you ask BigQuery to export this table to a GCS file, and bring this file into your computer, it will continue to work:

You can download this json file and load it back into BigQuery:

Let's load it into BigQuery:

Everything works fine:


所以问题出在您加载到 BigQuery 的文件中 - 这些文件没有正确编码表情符号。

我不知道您是如何生成这些文件的,也不知道如何修复该过程。但在这里我已经证明,对于正确编码表情符号的文件 - 您可以将它们加载到 BigQuery 中,表情符号将被保留。