Skip to content

SQL: multiply operation between INTERVALs and NULL is not possible #49297

@astefan

Description

@astefan

SELECT NULL * INTERVAL 1 DAY results in:

{
  "error" : {
    "root_cause" : [
      {
        "type" : "verification_exception",
        "reason" : "Found 1 problem(s)\nline 1:8: [*] has arguments with incompatible types [NULL] and [INTERVAL_DAY]"
      }
    ],
    "type" : "verification_exception",
    "reason" : "Found 1 problem(s)\nline 1:8: [*] has arguments with incompatible types [NULL] and [INTERVAL_DAY]"
  },
  "status" : 400
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions