RandomString / New Layer

Generate a new column filled with random strings. Similar to random string generation in testing libraries. Supports both fixed and variable length strings with different character set distributions. Useful for generating test data, dummy identifiers, or random tokens.

Table
0
0
Table

Length

oneof
FixedN

Generate strings of exact length N. Like generating fixed-length codes or identifiers where consistent length is required.

N

u32
1

The exact length (N) for all generated strings. Must be > 0. Examples:

  • 8: for standard token length
  • 4: for short codes
  • 16: for longer identifiers

Generate strings with random lengths between Min and Max (inclusive). Useful for testing with varying string lengths or generating more natural-looking random text.

Min

u32
1

Minimum length (Min) for generated strings. Must be > 0 and <= Max.

Max

u32
2

Maximum length (Max) for generated strings. Must be >= Min.

AlphaNumeric
AlphaNumeric ~

Generate strings using letters and numbers (Unicode alphanumeric characters). Suitable for usernames, product codes, or identifiers supporting international characters.

Standard ~

Generate strings using all printable characters (including Unicode symbols and international scripts). Suitable for testing with diverse character sets or generating identifiers or passwords supporting international characters.

Seed

oneof
Random

Use system-provided randomization. Each execution produces different strings. Suitable for security-sensitive applications, generating unique tokens, or cases where true randomness is required.

Use seeded random generation for reproducible results. Like random.seed() in Python or set.seed() in R. Essential for testing and reproducible experiments. Note: Not suitable for security-sensitive applications where predictability could be a vulnerability.

64

Seed value for the random number generator. Same Value guarantees identical sequence of random strings. Should not be used for security-critical operations.

Name for the new column. If not provided, the system generates a unique name. If AsColumn matches an existing column, the existing column is replaced. The name should follow valid column naming conventions.