Skip to content

Provide annotations on some python methods to prevent their use in queries #5143

@chipkent

Description

@chipkent

Some python methods are needed, but they should typically not be used in queries. Prime examples are functions in deephaven.time. An annotation that yields an error when used in a query would be useful.

Considerations:

  • Using these functions inside a UDF may be totally acceptable, so we may want to only trigger the error if they are used in the actual query string.
  • Errors could be raised based on input values, but this could yield unacceptable results if the function is used in a reasonable way inside of a UDF.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions