Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
v3.0.0
-
None
-
None
-
HDP3.1
Description
I am trying to submit a job with JDBC data sources and getting nullpointerexception because of below code:
File Path - \kylin\source-jdbc\src\main\java\org\apache\kylin\source\jdbc\JdbcHiveInputBase.java
method - createSqoopToFlatHiveStep
//code start
String partCol = null;
if (partitionDesc.isPartitioned())
{ partCol = partitionDesc.getPartitionDateColumn();//tablename.colname }// code end
Fon non-partition cubes, the value of partCol will be always null and creating a exception in below method:
//code start
static String quoteIdentifier(String identifier, SourceDialect dialect) {
if (KylinConfig.getInstanceFromEnv().enableHiveDdlQuote()) {
String[] identifierArray = identifier.split("
.");
//code end
Environment Detail -
HDP3.1