示例#1
0
 def reader(self, test_bigquery_client=None):
     return bigquery_tools.BigQueryReader(
         source=self,
         test_bigquery_client=test_bigquery_client,
         use_legacy_sql=self.use_legacy_sql,
         flatten_results=self.flatten_results,
         kms_key=self.kms_key)
示例#2
0
def BigQueryReader(*args, **kwargs):
    return bigquery_tools.BigQueryReader(*args, **kwargs)
示例#3
0
文件: bigquery.py 项目: wscheep/beam
def BigQueryReader(*args, **kwargs):
    import warnings
    warnings.warn("This class is deprecated and will be permanently moved "
                  "to the bigquery_tools module in a future version of beam")
    return bigquery_tools.BigQueryReader(*args, **kwargs)