[ 
https://issues.apache.org/jira/browse/SQOOP-1815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14233737#comment-14233737
 ] 

Veena Basavaraj commented on SQOOP-1815:
----------------------------------------

[~abec] can you comment on this as well? I see LocalDate and LocalDateTime 
included in JobManager ..so wonder why MR would complain, is this something I 
have to manually include on my cluster as well?

{code}
private void addStandardJars(JobRequest jobRequest) {
    // Let's register all important jars
    // sqoop-common
    jobRequest.addJarForClass(MapContext.class);
    // sqoop-core
    jobRequest.addJarForClass(Driver.class);
    // sqoop-spi
    jobRequest.addJarForClass(SqoopConnector.class);
    // Execution engine jar
    jobRequest.addJarForClass(executionEngine.getClass());
    // Extra libraries that Sqoop code requires
    jobRequest.addJarForClass(JSONValue.class);
    jobRequest.addJarForClass(LocalDate.class);
    jobRequest.addJarForClass(LocalDateTime.class);
  }
{code}

> Date and DateTime is not encoded in Single Quotes  ( + unit tests)
> ------------------------------------------------------------------
>
>                 Key: SQOOP-1815
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1815
>             Project: Sqoop
>          Issue Type: Sub-task
>          Components: sqoop2-framework
>            Reporter: Veena Basavaraj
>            Assignee: Veena Basavaraj
>             Fix For: 1.99.5
>
>         Attachments: SQOOP-1815-v2.patch, SQOOP-1815-v5.patch, 
> SQOOP-1815.patch
>
>
> I deem this is a BUG in the current code where the date and date time encoded 
> in single quotes. 
> Correction: as the bug says, it is not encoded.!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to