akashrn5 commented on a change in pull request #3639: [CARBONDATA-3724]
Secondary Index enable on partition Table
URL: https://github.com/apache/carbondata/pull/3639#discussion_r386084370
##########
File path:
integration/spark/src/test/scala/org/apache/carbondata/spark/testsuite/iud/DeleteCarbonTableTestCase.scala
##########
@@ -119,18 +122,22 @@ class DeleteCarbonTableTestCase extends QueryTest with
BeforeAndAfterAll {
test("partition delete data from carbon table with alias [where clause ]") {
sql("drop table if exists iud_db.dest")
- sql("""create table iud_db.dest (c1 string,c2 int,c5 string) PARTITIONED
BY(c3 string) STORED AS carbondata""")
+ sql(
+ """create table iud_db.dest (c1 string,c2 int,c5 string) PARTITIONED
BY(c3 string) STORED AS
+ |carbondata""".stripMargin)
sql(s"""LOAD DATA LOCAL INPATH '$resourcesPath/IUD/dest.csv' INTO table
iud_db.dest""")
sql("""delete from iud_db.dest d where d.c1 = 'a'""").show
checkAnswer(
sql("""select c2 from iud_db.dest"""),
- Seq(Row(2), Row(3),Row(4), Row(5))
+ Seq(Row(2), Row(3), Row(4), Row(5))
Review comment:
revert
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services