-
Notifications
You must be signed in to change notification settings - Fork 15
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
Conversation
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) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个方法明显是内部用的,改成newTableWithModel
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this 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用不用的分支分别提
47c9085
to
87df684
Compare
已 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) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个接口不应该存在
No description provided.