我正在使用 @dataform/cli (https://cloud.google.com/dataform/docs/use-dataform-cli) 包开发 Dataform 项目。我想运行
dataform run --dry-run
来检查我的最终 SQL。我每个人都遇到同样的错误:
Dataform encountered an error: Unexpected property "type", or property value type of "string" is incorrect.
ReferenceError: Unexpected property "type", or property value type of "string" is incorrect.
我可以毫无错误地编译我的项目(
dataform compile
),但是对于dataform run --dry-run
,我陷入困境。
谁能知道问题出在哪里吗?
我现在也有同样的错误:
*Dataform encountered an error: Unexpected property "type", or property value type of "string" is incorrect.
ReferenceError: Unexpected property "type", or property value type of "string" is incorrect.
at /usr/local/lib/node_modules/@dataform/cli/bundle.js:259:23
at Array.forEach (<anonymous>)
at checkFields (/usr/local/lib/node_modules/@dataform/cli/bundle.js:240:33)
at verifyObjectMatchesProto (/usr/local/lib/node_modules/@dataform/cli/bundle.js:268:5)
at read (/usr/local/lib/node_modules/@dataform/cli/bundle.js:28278:25)
at Object.processFn (/usr/local/lib/node_modules/@dataform/cli/bundle.js:30671:45)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Object.handler (/usr/local/lib/node_modules/@dataform/cli/bundle.js:29593:30)*
有什么建议吗?