我正在学习使用 TensorFlow 扩展构建机器学习管道,我按照教程进行操作,现在我喜欢构建自己的。直接从 BigQuery 提取数据时出现错误。请提前告知和感谢!
代码:
from tfx.components.example_gen.big_query_example_gen.component import BigQueryExampleGen
query = """
SELECT * FROM `<project_id>.<database>.<table_name>`
"""
example_gen = BigQueryExampleGen(query=query)
错误:
RuntimeError: Missing executing project information. Please use the --project command line option to specify it.