0

Trying to do the below:

   select count(1) from fact_table
   _PARTITIONTIME > (select max (calendar_date ) as date from control_table  
   where description = 'current year start date')

However it gives the following error:

No matching signature for operator > for argument types: TIMESTAMP, DATE. Supported signatures: ANY > ANY at [3:17]

0

1 Answer 1

1

Below is to address: No matching signature for operator > error

SELECT COUNT(1) FROM fact_table
_PARTITIONTIME > (SELECT TIMESTAMP(MAX(calendar_date)) FROM control_table  
WHERE description = 'current year start date')

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.