簡體   English   中英

使用“列名情緒不明確”取消嵌套重復記錄 - BigQuery

[英]Unnesting REPEATED RECORD with "Column name sentiment is ambiguous" - BigQuery

我試圖在一個表中取消嵌套三個記錄 arrays。 實體、單詞、句子。

我遇到的問題是“sentiment”字段同時存在於“entities”和“sentences”數組中,因此我收到錯誤“Column name sentiment is ambiguous”。

在此處輸入圖像描述

在此處輸入圖像描述

嘗試用entity.sentiment AS entity_sentimentsentiment AS sentences_sentiment替換sentiment AS entity_sentimentsentence.sentiment AS sentences_sentiment

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM