i am using hive now
in sql we have sysdate function and we can play with it like sysdat-1. sysdate-2
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)
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.
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".
Click the button, fill out the fields and hit the post button to start a new thread.