Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

*: add information_schema db with files and column_statistics tables #430

Merged
merged 1 commit into from
Oct 17, 2018

Conversation

mcarmonaa
Copy link
Contributor

Depends on #424

Closes #408

@mcarmonaa mcarmonaa requested a review from a team October 9, 2018 11:56
@erizocosmico
Copy link
Contributor

CI is not passing. Can you rebase please?


// PartitionRows implements the sql.Table interface.
func (t *emptyTable) PartitionRows(_ *sql.Context, _ sql.Partition) (sql.RowIter, error) {
return new(rowIter), nil
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of this, delete rowIter and use sql.RowsToRowIter(), which returns an empty iterator


// Partitions implements the sql.Table interface.
func (t *emptyTable) Partitions(_ *sql.Context) (sql.PartitionIter, error) {
return new(partitionIter), nil
Copy link
Contributor

Choose a reason for hiding this comment

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

This iterator should return no partitions

@mcarmonaa mcarmonaa force-pushed the feature/add-information-schema-db branch 4 times, most recently from 8e12e42 to 7b4d838 Compare October 12, 2018 08:35
@ajnavarro
Copy link
Contributor

@mcarmonaa can you rebase please?

Signed-off-by: Manuel Carmona <manu.carmona90@gmail.com>
@mcarmonaa mcarmonaa force-pushed the feature/add-information-schema-db branch from 7b4d838 to cda738a Compare October 17, 2018 08:47
@mcarmonaa
Copy link
Contributor Author

mcarmonaa commented Oct 17, 2018

rebased

Copy link
Contributor

@ajnavarro ajnavarro left a comment

Choose a reason for hiding this comment

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

LGTM after @erizocosmico comments.

@mcarmonaa
Copy link
Contributor Author

@ajnavarro those comments are already addressed 👍

@mcarmonaa
Copy link
Contributor Author

CI is failing because it can't download JDK

@ajnavarro ajnavarro merged commit 93b6c96 into src-d:master Oct 17, 2018
@mcarmonaa mcarmonaa deleted the feature/add-information-schema-db branch October 17, 2018 09:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants