Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Table.BatchLoadTables interface cannot reload schema information correctly #37

Merged
merged 3 commits into from
Oct 30, 2024

Conversation

dingxin-tech
Copy link
Collaborator

No description provided.

odps/table.go Outdated
@@ -76,10 +77,29 @@ func NewTable(odpsIns *Odps, projectName string, schemaName string, tableName st
}
}

func NewTableWithModel(odpsIns *Odps, model *tableModel) (*Table, error) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个方法明显是内部用的,改成newTableWithModel

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Copy link
Collaborator

@fetchadd fetchadd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

和pr 37合并一下,留一个pr。后续pr用不用的分支分别提

@dingxin-tech
Copy link
Collaborator Author

和pr 37合并一下,留一个pr。后续pr用不用的分支分别提

已 rebase master。每个 pr 使用独立的分支

odps/tables.go Outdated
}

// BatchLoadTablesInSpecificSchema can get at most 100 tables, and the information of table is according to the permission
func (ts *Tables) BatchLoadTablesInSpecificSchema(tableNames []string, schemaName string) ([]*Table, error) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个接口不应该存在

@fetchadd fetchadd merged commit 281e261 into aliyun:master Oct 30, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants