Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DEV and version next

...

Column names are case-insensitive and cannot begin with whitespace.

cond

Info

NOTE: When publishing to Avro, Parquet, or database tables, column names support alphanumeric characters and the underscore (_) character only. Other characters cause an error to occur.

...

You can apply literals, 

D s item
itempatterns
, or regular expressions to match patterns of text in the source column names. These matching values can then be replaced by a fixed value. For more information on patterns, see Text Matching.

Use row(s) as

...

column names

When this method is applied, all of the values in the specified row or rows are used as the new names for each column.

...

  • If a value is not applied for the source row number, the first next row of data is used.
  • Source row numbers apply. Current row numbers may not be the same. In the data grid, mouse over the leftmost column to see available row information.
  • Each value in the row or combination of values across rows must be unique within the rowset of new column names.
  • The row is removed from its original position.

...

  • .

The following transformation renames the columns in the dataset based on the values in rows 3 and 4 of the data:

D trans
p03Value3
p06NameFill across?
p01NameOption
p06ValueSelected
p03NameRow Numbers - row A
p04Value4
SearchTermRename columns
Typestep
p05NameChoose your separator
p01ValueUse row(s) as column names
p02NameType
p02ValueCombine multiple rows to name columns
p05Value'_'
p04NameRow Numbers - row B

In the above:

  • The Separator is defined as an underscore character (_).
  • When Fill across is selected, if any row value is empty, the last non-empty value for the row in a previous column is used as part of the column header.