[
https://issues.apache.org/jira/browse/KYLIN-4361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17025606#comment-17025606
]
weibin0516 commented on KYLIN-4361:
-----------------------------------
Hi, Singh, this is indeed a bug in the old version, but in the latest code of
the master branch, the original bug code has changed. Can you try to test with
the latest code from the master branch? According to the code logic, I think it
should also report an error.
> Kylin 3.0.0 Release - Not able to submit job with JDBC Data Sources with
> Sqoop.
> -------------------------------------------------------------------------------
>
> Key: KYLIN-4361
> URL: https://issues.apache.org/jira/browse/KYLIN-4361
> Project: Kylin
> Issue Type: Bug
> Affects Versions: v3.0.0
> Environment: HDP3.1
> Reporter: Sonu Singh
> Assignee: weibin0516
> Priority: Blocker
> Fix For: v3.0.0
>
> Attachments: image-2020-01-28-11-39-25-860.png
>
>
> 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
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)