BigQuery string in Dataflow - "getF ()" returns null

We have a Pipeline that reads from a BigQuery table. The method call getF()

on the TableRow should return List<TableCell>

for that row. But it returns null

.

Why getF()

returns null

?

@Override
public void processElement(ProcessContext c) throws Exception {
   TableRow aRow = context.element();
   List<TableCell> tableCells = aRow.getF(); //This returns null! 
}

      

+3


source to share


2 answers


Update since January 2016: getF()

Not Supported - Support for it has never been reliable and has been removed entirely in this commit . Use instead row.get("fieldname")

.



Original from September 2015: The SDK has been updated to fix this issue.

+3


source


getF()

not supported - support for it was never reliable and was completely removed in this commit . Use instead row.get("fieldname")

.



+2


source







All Articles