Skip to main content

Designer Cloud 的重新抽样

Designer Cloud 工作流使用的数据集会在交互式结果网格中显示完整数据的 10MB 样本。您可以通过工具配置窗口访问重新抽样功能,以收集新的样本数据并管理工作流中使用的不同样本。您可以在所有 Designer Cloud 工具上对数据重新抽样。

要收集新的样本数据,请执行以下操作:

  1. 选择工具配置窗口标题中的滴管图标,打开“重新抽样”选项卡。在“重新抽样”选项卡中,您会看到工具的输出锚点,以及每个输出锚点的 当前样本 可用样本

    • 当前样本 :工具当前正在使用的样本数据。

    • 可用样本 :您通过此特定工具和输出锚点已收集的可用样本。

    注意

    分别为每个输出锚点收集样本。在收集新样本之前,确保已选择正确的输出锚点。

  2. 选择 新样本

  3. 要收集新样本,请选择 收集 。新样本将是随机的 10MB 数据重样本。请注意,收集到新样本时,您的工作流将重新运行直至包含当前工具,这可能需要几分钟才能完成,具体取决于您的工作流和数据的大小。

  4. 您可以在“重新抽样”选项卡中的 可用样本 下查看新样本的收集进度。

    警告

    如果您更改上游工具的配置,则下游样本将随时失效,并且您的工作流将默认使用原始样本数据。

  5. 要使用已收集的新样本数据,请选择 使用样本

您收集的样本将在会话之间存储。但是,当您打开 Designer Cloud 新会话时,必须从 可用样本 列表中重新选择要用于工作流的样本。

Resampling Limitations

Certain tools that allow for the use of the current time or random numbers can cause errors when Resampling.

Tool

Configuration Limitation

Reason

Formula Tool

  • DateTimeNow()

  • DateTimeToday(): Sample could return a different date if triggered after midnight.

Alteryx uses a string representation of date-time instead of the function in the underlying workflow.

Multi-Column Formula Tool

  • DateTimeNow()

  • DateTimeToday(): Sample could return a different date if triggered after midnight.

Alteryx uses a string representation of date-time instead of the function in the underlying workflow.

Filter Tool

  • DateTimeNow()

  • DateTimeToday(): Sample could return a different date if triggered after midnight.

Alteryx uses a string representation of date-time instead of the function in the underlying workflow.

Random % Sample Tool

Not specifying the Random Seed.

The compiler uses Math.rand() as the Seed Value in the underlying workflow.

Sample Tool

Selecting option N in 100 Change to Include Each Row.

The compiler uses Math.rand() as the Seed Value in the underlying workflow.