Hey there, the following is most definitely a newb...
# support
a
Hey there, the following is most definitely a newbie question. Thanks in advance for the help. We are on the free cloud plan, I'm trying to deduplicate tables in the warehouse, but found something confusing in regards to how to use and understand the following columns:
uuid_ts
,
timestamp
,
sent_at
,
received_at
and
loaded_at
This is all coming from the same Javascript SDK source. In the `tracks`table of almost 21k rows only 54 rows were duplicated when partitioning by
id
, so this made me wonder about the following. The only values not duplicated are the shown in the screenshot. So my questions are: 1. In which conditions can the event be loaded a day later? Can it happen on a timeframe longer than one day? 2. Is it safe to just partition by
id
, order by
sent_at
ascending and then take the first value there? a. If not which column is it recommended to use to
order by
when partitioning in order to actually deduplicate? (from these
uuid_ts
,
timestamp
,
sent_at
,
received_at
and
loaded_at
) 3. Shouldn't the
timestamps
also be equal? I mean we are talking milliseconds of difference here, but I thought the formula described in the docs would account for that. a. If they shouldn't be the same, what does this difference signify? 4. What other strategy for deduplication is recommended on the warehouse if this is not the way? Thanks for the help