简体   繁体   English

如何为时间戳列创建 Palantir Foundry Fusion 同步?

[英]How do I create a Palantir Foundry Fusion sync for a timestamp column?

I want to create a Fusion-backed dataset in Foundry.我想在 Foundry 中创建一个 Fusion 支持的数据集。 Usually, I would create the columns and set the types but when I add a timestamp column it turns up as null in the dataset:通常,我会创建列并设置类型,但是当我添加时间戳列时,它在数据集中显示为 null:

Fusion 中包含标题为“my_timestamp”列的表,其值如“2022-08-30T11:09:39Z”。它被同步到一个数据集,列的导出列类型设置为“时间戳”

数据集预览显示列“my_timestamp”和列中的空值

How do I add a timestamp column to a Fusion table and sync it to a dataset correctly?如何将时间戳列添加到 Fusion 表并将其正确同步到数据集?

For timestamps, you should use the format:对于时间戳,您应该使用以下格式:

YYYY-MM-DD HH:mm:ss

For example:例如:

2022-08-30 11:09:39

This will result in the dataset sync completing successfully.这将导致数据集同步成功完成。

You can check the valid formats by setting the cell data type to timestamp, and hovering over the ?您可以通过将单元格数据类型设置为时间戳来检查有效格式,并将鼠标悬停在? icon.图标。 This will also highlight the cell with a red underline if it does not match the expected format.如果单元格与预期格式不匹配,这也会用红色下划线突出显示单元格。

Fusion 表标题中的数据类型下拉菜单设置为“日期和时间” 问号图标的弹出窗口,解释支持的时间戳格式

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 Palantir Foundry Workshop 中创建累积和图? - How do I create a cumulative sum graph in Palantir Foundry Workshop? 如何在 Pyspark 和 Palantir Foundry 中使用多个语句将列的值设置为 0 - How do I set value to 0 of column with multiple statements in Pyspark and Palantir Foundry 如何使用 Palantir Foundry 在 Pyspark 中编写 case 语句 - How do I write case statements in Pyspark using Palantir Foundry 如何在 Palantir Foundry 中解析 xml 文档? - How do I parse xml documents in Palantir Foundry? 如何在 Palantir Foundry 中检查列是否始终具有相同的值? - How do I check a column always has the same value in Palantir Foundry? 如何在 Palantir Foundry Workshop 中创建分段累积和图? - How do I create a segmented cumulative sum graph in Palantir Foundry Workshop? 如何将包含 250K 行的数据集转换为 Palantir Foundry 中的融合支持数据集? - How can i convert a dataset which contains 250K rows into a fusion backed dataset in Palantir Foundry? 如何在 Palantir Foundry 的 Python 转换中传递数据集元数据,如 hash 或时间戳? - How can I pass through dataset metadata, like a hash or timestamp, in a Python Transform in Palantir Foundry? Palantir Foundry Fusion 访问使用 API - Palantir Foundry Fusion access using API 在 Palantir Foundry 的 Workshop 中,如何清除之前保存的默认 Workshop 变量值? - In Palantir Foundry's Workshop, how do I clear the default Workshop variable values I saved earlier?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM