-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Document ALTER TABLE EXECUTE commands #9682
Conversation
modifies the table according to the specified command and parameters. ``ALTER | ||
TABLE EXECUTE`` supports the following commands: | ||
|
||
* ``OPTIMIZE``: collapse files in transactional tables up to a threshold |
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.
The part about OPTIMIZE
should go to Hive documentation.
The alter-table
page should just note that there is mechanism to execute table procedures/commands (nomenclature to be defined); and that different procedures are provided by different connectors.
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.
Agreed and changed. Will any other connectors support EXECUTE OPTIMIZE or any other commands on 364?
6874f58
to
b0735e2
Compare
b0735e2
to
924584b
Compare
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.
LGTM
I added changes to adjust PR to syntax change. |
b2979e4
to
27cc471
Compare
I also added a safety note. Please make it more English @jhlodin :) |
cc: @findepi |
27cc471
to
22ad6d4
Compare
22ad6d4
to
7a4ed33
Compare
7a4ed33
to
b3e3452
Compare
Add documentation for the
ALTER TABLE <name> EXECUTE <cmd> WITH <parameters>
statement, starting withOPTIMIZE
but laying groundwork for additional commands.