Skip to content

[BUG] SDG - Generate Distribution Comparison.step does not play well with mixed data types #215

@JinnyBoy94

Description

@JinnyBoy94

Describe the bug
@SundareshSankaran For some reason, when I have the SYNTHETIC_DATA_FLAG for both the original data and synthetic data (from the Tabular GAN custom step) as Numeric, this custom step still fails. There was an instance where my initial CAS in-memory table was having Character fields, but when it passed through the custom step, it generated VARCHAR fields. So that also throws up an error.

To Reproduce
Steps to reproduce the behavior:

  1. Original dataset (with / without SYNTHETIC_DATA_FLAG) in inputtable1
  2. Synthetically generated data from SDG - Train a Synthetic Data Generator through GANs.step in inputtable2
  3. Run step.
  4. See error

Expected behavior
Code runs fine.

Screenshots
Image

Environment (please complete the following information):

  • Name of custom step SDG - Generate Distribution Comparison.step
  • SAS Viya version 2025.04
  • Browser Chrome, Firefox and Edge

Additional context
None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions