Github user manishgupta88 commented on a diff in the pull request: https://github.com/apache/incubator-carbondata/pull/841#discussion_r113147895 --- Diff: integration/spark2/src/test/scala/org/apache/spark/carbondata/restructure/rowreader/AddColumnTestCases.scala --- @@ -207,6 +209,27 @@ class AddColumnTestCases extends QueryTest with BeforeAndAfterAll { } } + test ("test to check if exception is thrown if table is locked for updation") { + intercept[Exception] { + sql("DROP TABLE IF EXISTS carbon_table") + sql( + "CREATE TABLE carbon_table(intField int,stringField string,charField string,timestampField " + + --- End diff -- Remove these extra empty lines
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---