Dataflow 中的 BigQuery 行 - "getF()" returns null
BigQuery row in Dataflow - "getF()" returns null
我们有一个从 BigQuery table 读取的管道。在 TableRow 上调用方法 getF()
应该 return 该行的 List<TableCell>
。但它 returns null
.
为什么 getF()
return null
?
@Override
public void processElement(ProcessContext c) throws Exception {
TableRow aRow = context.element();
List<TableCell> tableCells = aRow.getF(); //This returns null!
}
2016 年 1 月的更新:getF()
不受支持 - 对它的支持从来都不可靠,已在 this commit 中完全删除。请改用row.get("fieldname")
。
2015 年 9 月的原始版本:SDK 已更新并修复了此问题。
getF()
不受支持 - 对它的支持从来都不可靠,已在 this commit 中完全删除。请改用row.get("fieldname")
。
我们有一个从 BigQuery table 读取的管道。在 TableRow 上调用方法 getF()
应该 return 该行的 List<TableCell>
。但它 returns null
.
为什么 getF()
return null
?
@Override
public void processElement(ProcessContext c) throws Exception {
TableRow aRow = context.element();
List<TableCell> tableCells = aRow.getF(); //This returns null!
}
2016 年 1 月的更新:getF()
不受支持 - 对它的支持从来都不可靠,已在 this commit 中完全删除。请改用row.get("fieldname")
。
2015 年 9 月的原始版本:SDK 已更新并修复了此问题。
getF()
不受支持 - 对它的支持从来都不可靠,已在 this commit 中完全删除。请改用row.get("fieldname")
。