Skip to main content

交互式结果网格

交互式结果网格 (IRG) 位于 Live Query 的画布下方。运行工作流后,系统将显示所选工具中的 数据,以及运行工作流时产生的消息和错误。

Live Query retrieves preview results incrementally instead of loading the complete result set into the browser.

查看元数据

运行工作流后,IRG 会提供显示元数据的选项。元数据包含传入和传出所选工具的数据的特征。元数据包含行 ID名称类型

要查看元数据:

  1. 在工作流中选择一个工具或输出以填充结果网格。

  2. 在结果网格标题中,选择元数据视图

查看数据

运行工作流后,可以查看工具的输入和输出数据。要查看数据,请在工作流中选择一个工具或锚点。来自工具或锚点的数据将显示在 IRG 中。

IRG 标题显示数据的总行数以及当前展示的数据列。要从结果窗口中隐藏数据列,请取消选中下拉列表中的列名称。要从表格中复制所选单元格…

To copy selected cells from the table...

  1. 选择并突出显示要复制的单元格。

  2. 右键单击突出显示的单元格并选择复制,或选择更多操作 > 复制

  3. Select one of the following options:

    • Copy With Headers or Selected Cells with Headers: Copies the highlighted cells with their headers.

    • Selected Cells without Headers: Copies the highlighted cells without their headers.

Retrieve Preview Data

The current IRG row window retrieves up to 500 rows per fetch.

When you first view the results, the browser receives up to 500 rows. If you scroll beyond the loaded rows, Live Query retrieves the next block of up to 500 rows.

The 500-row fetch size is common IRG behavior and isn't specific to an individual connector. It isn't currently a user-configurable setting.

Preview Caching

Live Query doesn't maintain a persistent Alteryx-side result cache for IRG results.

While the workflow page remains open, previously retrieved data can be stored in a page-scoped browser-memory cache. Live Query can display this data from the browser-memory cache. If you add a tool or change a tool configuration, Live Query runs a new query.

The underlying CDP might also use its own result-caching mechanism.

Protect Preview Data

Live Query transfers preview data over HTTPS within an authenticated user, workspace, and session context.

The page-scoped browser-memory cache is cleared when you refresh or close the workflow page.

结果网格表格

IRG 表格包括以下项:

  • 计算行总数:计算表中的行数。

  • :选择下拉菜单,然后选中或取消选中要在 IRG 中显示的列。

  • 开启数据分析:选择此按钮以查看每列的数据概览或概要分析。

    • 启用数据分析后,每个列标题都会显示摘要信息,包括列名和数据质量栏。

    • 列名左侧的图标指示列的数据类型。

    • 根据列的数据类型显示数据概要分析图表或列的高频值列表。

    • 如需详细了解概要分析,请参阅“数据概要分析”。

  • 开启建议:选择此按钮,然后选择一列以查看有关如何转换数据的建议。

  • 数据视图元数据视图:选择数据元数据,即可在 IRG 中查看相应信息。

  • 更多操作:选择更多操作以执行任务:

    • 复制:选择并突出显示要复制的数据。

      • 选定单元格(包括列标题)

      • 选定单元格(不包括列标题)

    • 导出为 CSV:将样本数据从工具锚点导出到 CSV 文件。

  • 在新窗口中打开:在新窗口中打开 IRG。

Edit Data from the Results Grid

The IRG also lets you make quick edits to your data and apply these edits to your workflow as tools. To edit data in a column:

<listitem>

Select the vertical ellipsis icon for the column that you want to edit, then select one of the options:

  • Pin Column: Freeze 1 or more columns to the left side of the IRG when working with large datasets. Note that this option is only used for observation purposes and doesn't change the order of your columns.

  • Autosize Column Width: Resize the column width to fit the column name header.

  • Rename: Change the name of the column.

  • Change Data Type: Allows you to change the data type of a column. Data types that can't be selected are grayed out. You can also change the data type by selecting the data type icon next to the column name. Go to 支持的数据类型 for a list of data types.

  • Remove: All columns from the input data are shown by default. Use Remove to remove columns from the Results window.

  • Filter: Select Filter to access filter options for the data profiling Results window. You can filter based on 4 operators:

    • = (Equals) allows you to select all data points equal to that value.

    • != (Not Equal To) selects all data points, except for those with the value selected.

    • Is Null selects data points in the column that are null, excluding empty values.

    • Is Not Null selects data points in the column that are not null.

  • Sort

    • Sort A to Z: Sort ascending.

    • Sort Z to A: Sort descending.

    • Don't Sort: (Default)

</listitem>

刷选建议

在 IRG 中,刷选功能助您通过光标高亮某个值,并查看建议的转换。在您突出显示某个值后,“建议”面板将自动打开,其中包含您的数据的相关建议。建议因列的数据类型而异。笔刷建议也可编辑,以确保您完全按照自己的需要转换数据。

工具消息

要查看有关工作流工具的消息:

  1. 选择画布上的工具。

  2. 在 IRG 中,选择消息以访问消息视图。

  3. 选择消息类型(警告错误)。

消息类型

IRG 会显示 2 种消息类型:

  • 警告:可用计算机内存小于首选设置,或检测到缺失字段。警告不会导致工作流失败,但您应该查看警告内容。

  • 错误:工具配置不正确。

消息格式

消息限制为 256 个字符。选择一条消息以查看该消息的完整内容。

每条消息都显示工具的名称及用括号括住的工具 ID。工作流中的每个工具(包括已删除的工具)都有编号。工具 ID 指的是工作流中的工具编号。

在消息中选择指向工具名称的链接可在工作流中选择该工具 - 此操作会自动移动画布,以便用户可以看到已选择工具。