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

pkg: Allows no target cols to be specified in IMPORT INTO query. #39032

Merged
merged 1 commit into from
Jul 29, 2019

Conversation

adityamaru27
Copy link
Contributor

It adds the grammar required to support queries such as:
IMPORT INTO test CSV DATA ('...');

No target columns implies that all columns are imported into from the data sources.

@adityamaru27 adityamaru27 requested review from dt and a team July 22, 2019 19:03
@cockroach-teamcity
Copy link
Member

This change is Reviewable

This is an add on to cockroachdb#39023. It adds the grammar required to support
queries such as:
`IMPORT INTO test CSV DATA ('...');`

No target columns implies that all columns are imported into from the
data sources.

Release note: None
@adityamaru27
Copy link
Contributor Author

TFTR!
bors r+

craig bot pushed a commit that referenced this pull request Jul 29, 2019
39032: pkg: Allows no target cols to be specified in IMPORT INTO query. r=adityamaru27 a=adityamaru27

It adds the grammar required to support queries such as:
`IMPORT INTO test CSV DATA ('...');`

No target columns implies that all columns are imported into from the data sources.

39130: batcheval: check GCThreshold in RevertRange command r=dt a=dt

I think somehow I got mixed up about when a key is GC'ed in that original comment.
So that we can time-travel to any time within GC window, we already only GC a key
when there is a newer _expired_ key over it, and the requirements for being able
to revert to a time are no different than being able to read at that time, so the
same GCThreshold check we do elsewhere should also be good enough here.

Release note: none.

Co-authored-by: Aditya Maru <adityamaru@cockroachlabs.com>
Co-authored-by: David Taylor <tinystatemachine@gmail.com>
@craig
Copy link
Contributor

craig bot commented Jul 29, 2019

Build succeeded

@craig craig bot merged commit 844f55c into cockroachdb:master Jul 29, 2019
@adityamaru27 adityamaru27 deleted the no-target-cols-import-into branch July 29, 2019 22:21
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.

3 participants