简体   繁体   中英

Index order break Foundry dataset from fusion sheet

I have created Palantir Foundry dataset from the Fusion sheet. But rows are not in the correct order as the Fusion sheet. What is the correct way to do it?

Fusion sheet data

融合表数据

Dataset created from Fusion sheet

从 Fusion 工作表创建的数据集

Spark doesn't preserve any ordering and Fusion does not try to keep row orders when exporting to a dataset. In general, row orders in Foundry datasets should not be relied upon. You might be able to work around this by adding an index column.

Previous edit:

I had tested this and the sync kept the order on the output dataset correctly without any particular configuration. After digging a bit more it seems I was just lucky.

在此处输入图像描述

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM