Error on mapping a function without any input argument

Hi, I want to map some functions that have no input arguments in their signature but I don’t know exactly what is the syntax to have no input argument. Here is what I tried and I got an error for all of them:

  • names:
    - “CURRENT_DATE”
    signatures:
    - args:
    -
    return: “TIME”
  • names:
    - “CURRENT_DATE”
    signatures:
    return: “TIME”
  • names:
    - “CURRENT_DATE”
    signatures:
    - args:
    return: “TIME”

What is the correct syntax?

@soheil08

Have you tried the below?

select current_date