[HOTFIX] fix compile error for flink module with spark 2.4

fix compile error for flink module with spark 2.4

This closes #3591
diff --git a/integration/flink/pom.xml b/integration/flink/pom.xml
index de3b5bc..9e47fd3 100644
--- a/integration/flink/pom.xml
+++ b/integration/flink/pom.xml
@@ -203,6 +203,23 @@
                 </dependency>
             </dependencies>
         </profile>
+        <profile>
+            <id>spark-2.4</id>
+            <dependencies>
+                <dependency>
+                    <groupId>org.apache.carbondata</groupId>
+                    <artifactId>carbondata-spark2</artifactId>
+                    <version>${project.version}</version>
+                    <scope>test</scope>
+                    <exclusions>
+                        <exclusion>
+                            <groupId>org.apache.hive</groupId>
+                            <artifactId>hive-exec</artifactId>
+                        </exclusion>
+                    </exclusions>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 
     <build>