steep-byte-42023
06/15/2023, 10:06 AMidentify events to BigQuery and according to this documentation it should be performing an upsert into the users table
https://www.rudderstack.com/docs/destinations/warehouse-destinations/warehouse-schema/#identify
But it seems to be appending, screenshot just of the id column, any ideas?bright-energy-18897
06/15/2023, 10:09 AMsteep-byte-42023
06/15/2023, 10:11 AMrudder-server:31052022.120454 and we also host the transformers which are on rudder-transformer:23072022.053518bright-energy-18897
06/15/2023, 10:15 AMsteep-byte-42023
06/15/2023, 10:17 AMsteep-byte-42023
06/15/2023, 10:18 AMbright-energy-18897
06/15/2023, 10:22 AMif it is an issue in this version would there be any chance of a patch?In the last year, we have had many things, and trying to release a patch for an older version will require significant effort. We can only check if we can modify our control-plane to be compatible with that version. I can not guarantee this.
And do you think I need to upgrade the rudder-server version or just the transformers?Both will be needed. Is there a particular reason you stick to that version? We can provide help in upgrading, as this would be significant less effort from patching an older version.
steep-byte-42023
06/15/2023, 10:23 AMsteep-byte-42023
06/15/2023, 10:23 AMsteep-byte-42023
06/15/2023, 10:23 AMbright-energy-18897
06/15/2023, 10:26 AMsteep-byte-42023
06/15/2023, 10:27 AMsteep-byte-42023
06/15/2023, 3:03 PMsteep-byte-42023
06/15/2023, 3:10 PMsteep-byte-42023
06/16/2023, 7:25 AMsteep-byte-42023
06/16/2023, 7:25 AMrudder-server:1.9.6
rudder-transformer:1.32.2bright-energy-18897
06/16/2023, 1:16 PMit seems that it still creates more users in the users table if the columns don’t matchlate me try to reproduce this case 17 entries in identifies table is expected, in users it should be only one with latest/merged information
steep-byte-42023
06/16/2023, 1:16 PMsteep-byte-42023
06/19/2023, 7:55 AMbright-energy-18897
06/19/2023, 8:36 AMbright-energy-18897
06/19/2023, 10:53 AMsteep-byte-42023
06/19/2023, 11:11 AMsteep-byte-42023
06/19/2023, 12:02 PMsteep-byte-42023
06/19/2023, 12:02 PMidentifies and users tablessteep-byte-42023
06/19/2023, 12:02 PMsteep-byte-42023
06/19/2023, 12:03 PMsteep-byte-42023
06/19/2023, 12:04 PMsteep-byte-42023
06/19/2023, 12:07 PMbright-energy-18897
06/19/2023, 4:02 PMbright-energy-18897
06/19/2023, 4:03 PMsteep-byte-42023
06/19/2023, 4:03 PMbright-energy-18897
06/20/2023, 10:57 AMSELECT
*
EXCEPT
(__row_number)
FROM
(
SELECT
*,
ROW_NUMBER() OVER (
PARTITION BY id
ORDER BY
loaded_at DESC
) AS __row_number
FROM
`<project>.<db>.users`
WHERE
_PARTITIONTIME BETWEEN TIMESTAMP_TRUNC(
TIMESTAMP_MICROS(
UNIX_MICROS(
CURRENT_TIMESTAMP()
) -60 * 60 * 60 * 24 * 1000000
),
DAY,
'UTC'
)
AND TIMESTAMP_TRUNC(
CURRENT_TIMESTAMP(),
DAY,
'UTC'
)
)
WHERE
__row_number = 1steep-byte-42023
06/20/2023, 11:00 AMbright-energy-18897
06/20/2023, 1:27 PMWarehouse.bigquery.isUsersTableDedupEnabled to true
This will start merging instead of appending, updates to users tablessteep-byte-42023
06/20/2023, 1:29 PMbright-energy-18897
06/20/2023, 1:29 PMsteep-byte-42023
06/20/2023, 1:29 PMbright-energy-18897
06/20/2023, 1:31 PMRSERVER_WAREHOUSE_BIGQUERY_IS_USERS_TABLE_DEDUP_ENABLED=true
This should be equivalent environment variablesteep-byte-42023
06/20/2023, 1:31 PMsteep-byte-42023
06/20/2023, 3:01 PMbright-energy-18897
06/20/2023, 3:02 PMsteep-byte-42023
06/20/2023, 3:21 PM