Skip to content

Commit f6f9690

Browse files
committed
fix: maxcompute extractor property
1 parent 3711fea commit f6f9690

File tree

1 file changed

+3
-1
lines changed
  • plugins/extractors/maxcompute/client

1 file changed

+3
-1
lines changed

plugins/extractors/maxcompute/client/client.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ func New(conf config.Config) (*Client, error) {
3434
if err != nil {
3535
return nil, err
3636
}
37-
isSchemaEnabled := properties.Get("odps.namespace.schema") == "true"
37+
38+
const schemaProperty = "odps.schema.model.enabled"
39+
isSchemaEnabled := properties.Get(schemaProperty) == "true"
3840

3941
return &Client{
4042
client: client,

0 commit comments

Comments
 (0)