[GitHub] [carbondata] nihal0107 commented on a change in pull request #4071: [CARBONDATA-4102] Added UT and FT to improve coverage of SI module.
Posted by
GitBox on
Feb 03, 2021; 12:59pm
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/GitHub-carbondata-nihal0107-opened-a-new-pull-request-4071-CARBONDATA-4102-Added-UT-and-FT-to-improv-tp105319p105990.html
nihal0107 commented on a change in pull request #4071:
URL:
https://github.com/apache/carbondata/pull/4071#discussion_r569392649##########
File path: integration/spark/src/test/scala/org/apache/carbondata/spark/testsuite/createTable/TestRenameTableWithIndex.scala
##########
@@ -107,6 +107,17 @@ class TestRenameTableWithIndex extends QueryTest with BeforeAndAfterAll {
s"""
| explain select * from carbon_tb where name='eason'
""".stripMargin).collect()
+
+ sql(
+ s"""
+ | CREATE INDEX dm_carbon_si
+ | ON TABLE carbon_tb (name, city)
+ | AS 'carbondata'
+ """.stripMargin)
+
+ sql(s"""alter TABLE carbon_tb rename to carbon_table""".stripMargin)
Review comment:
done
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[hidden email]