Skip to content

Fix validation of column names for variadic input #36

@tkilias

Description

@tkilias

Background

  • Variadic Input UDF use number of the column names
  • They start counting at 0, which fits also to the use of getitem
--/ CREATE OR REPLACE PYTHON SCALAR SCRIPT test_variadic (...) EMITS (o VARCHAR(2000000)) AS def run(ctx): ctx.emit(str([column.name for column in exa.meta.input_columns])) / select test_variadic('a1','a2','a3','a4','a5'); [u'0', u'1', u'2', u'3', u'4'] 

Acceptance Criteria

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUnwanted / harmful behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions