GitHub user QiangCai opened a pull request:

    https://github.com/apache/carbondata/pull/1638

    [CARBONDATA-1879] Support alter table to change the status of the streaming 
segment

    Support new SQL command to change the status of the segment from 
"streaming" to "streaming finish":
    Alter table <dbname.tablename> finish streaming
    
    1. If streaming is running, the command will throw an exception.
    2. If there isn't streaming segment, do nothing.
    
     - [x] Any interfaces changed?
     add new sql command:
      Alter table <dbname.tablename> finish streaming
     - [x] Any backward compatibility impacted?
      no
     - [x] Document update required?
      required
     - [x] Testing done
            Please provide details on 
            - Whether new unit test cases have been added or why no new tests 
are required?
               added
            - How it is tested? Please attach test report.
            - Is it a performance related change? Please attach the performance 
test report.
            - Any additional information to help reviewers in testing this 
change.
           
     - [x] For large changes, please consider breaking it into sub-tasks under 
an umbrella JIRA. 
      NA


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/QiangCai/carbondata finish_streaming

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/carbondata/pull/1638.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1638
    
----
commit fc5318348dea70f57e967a9a38a8cd25c139b7f9
Author: QiangCai <qiang...@qq.com>
Date:   2017-12-10T13:01:56Z

    alter table finish streaming

----


---

Reply via email to