Reply
Explorer
Posts: 12
Registered: ‎11-10-2018

Re: how to schedule sqoop import on daily bases

i am using hive now

in sql we have sysdate function and we can play with it like sysdat-1. sysdate-2

in hive

current_date is there, is there way we can write like current_date-1

while using current_date -1 . it shows error 

 

FAILED: SemanticException [Error 10014]: Line 1:7 Wrong arguments '1': No matching method for class org.apache.hadoop.hive.ql.udf.generic.GenericUDFOPDTIMinus with (date, int)

 

regards

vivek

Cloudera Employee
Posts: 53
Registered: ‎04-03-2017

Re: how to schedule sqoop import on daily bases

Hi,

 

As this is a different issue, I would request to open a new thread because there are multiple issues that has been discussed over here which is making this thread more complicating.

 

I would request to open a new thread and kindly share the link so we can work on it.

 

Regards

Nitish

Explorer
Posts: 12
Registered: ‎11-10-2018

Re: how to schedule sqoop import on daily bases

you are right.

Explorer
Posts: 12
Registered: ‎11-10-2018

Re: how to schedule sqoop import on daily bases

will you please guide me how to create new post since i am new to community

Posts: 884
Kudos: 102
Solutions: 54
Registered: ‎04-06-2015

Re: how to schedule sqoop import on daily bases

Hi @vivek_rol,

 

To create a new post on the community you would first go to the appropriate board, such as Data Ingest which is where this thread is. Then at the top left of the board you will see a button named "New Message".

Screen Shot 2018-12-05 at 8.52.52 AM.png

 

Click the button, fill out the fields and hit the post button to start a new thread. 

 

Screen Shot 2018-12-05 at 8.54.57 AM.png



Cy Jervis, Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:

Terms of Service

Community Guidelines

How to use the forum

Highlighted
Explorer
Posts: 12
Registered: ‎11-10-2018

Re: how to schedule sqoop import on daily bases

Thanls lot

Announcements
New solutions