Github user gvramana commented on a diff in the pull request: https://github.com/apache/carbondata/pull/2141#discussion_r181634024 --- Diff: integration/spark-common-test/src/test/scala/org/apache/carbondata/spark/testsuite/createTable/TestUnmanagedCarbonTable.scala --- @@ -266,16 +270,23 @@ class TestUnmanagedCarbonTable extends QueryTest with BeforeAndAfterAll { .contains("Unsupported operation on unmanaged table")) //12. Streaming table creation - // External table don't accept table properties + // No need as External table don't accept table properties + + //13. Alter table rename command + exception = intercept[MalformedCarbonCommandException] { + sql("ALTER TABLE sdkOutputTable RENAME to newTable") + } + assert(exception.getMessage() + .contains("Unsupported operation on unmanaged table")) sql("DROP TABLE sdkOutputTable") - // drop table should not delete the files + //drop table should not delete the files --- End diff -- correct indent
---