【问题标题】:Azure Data Explorer (Kusto) override creationTimeAzure 数据资源管理器 (Kusto) 覆盖 creationTime
【发布时间】:2018-11-12 09:26:48
【问题描述】:

来自 Azure 数据资源管理器的文档:

creationTime:日期时间值(格式为 ISO8601 字符串),用作提取数据范围的创建时间。如果未指定,将使用当前值 (now())。在摄取较旧的数据时,覆盖默认值很有用,以便正确应用保留策略。例如:with (creationTime="2017-02-13T11:09:36.7992775Z")。

如何查看覆盖值? 另外,如何使用 Kusto 的 .net sdk 覆盖此值?

【问题讨论】:

    标签: azure-data-explorer


    【解决方案1】:

    范围的 creationTime 显示为“.show extents”命令输出的一部分,包括 MaxCreatedOnMinCreatedOn 值 - 此范围是由于事实范围 may get merged/rebuilt throughout their lifespan

    creationTime 是一个ingestion property,如果需要,需要在使用 .NET 客户端库时进行设置 - 匹配的类名为 Kusto.Ingest.KustoIngestionProperties(如果您是 ingesting from a query,即使用 @ 987654331@命令,.NET client library里面还有一个方法叫Kusto.Data.Common.CslCommand.Generator.GenerateTableSetOrAppendCommand()

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-06-20
      • 2020-05-09
      • 1970-01-01
      相关资源
      最近更新 更多