- 4797 Views
- 2 replies
- 0 kudos
Hi,I want to remove duplicate rows from my managed delta table in my unity catalog. I use a query on a SQL warehouse similar to this: WITH cte AS (
SELECT
id, ROW_NUMBER() OVER (PARTITION BY id,##,##,## ORDER BY ts) AS row_num
FROM
catalog.sch...
- 4797 Views
- 2 replies
- 0 kudos
Latest Reply
I have first tried to use _metadata.row_index to delete the correct rows but also this resulted in an error. My solution was now to use spark and overwrite the table.table_name = "catalog.schema.table"
df = spark.read.table(table_name)
count_df = df....
1 More Replies
- 5136 Views
- 1 replies
- 0 kudos
Recently, it seems that there has been an intermittent issue where the output of a notebook cell doesn't display, even though the code within the cell executes successfully. For instance, there are times when simply printing a dataframe yields no out...
- 5136 Views
- 1 replies
- 0 kudos
Latest Reply
Do you see the output in stdout logfile in such a scenario?
- 6036 Views
- 2 replies
- 0 kudos
select {{user_defined_variable}} as my_var, count(*) as cntfrom my_tablewhere {{user_defined_variable}} = {{value}} for user_defined_variable, I use query based dropdown list to get a column_name I'd like ...
- 6036 Views
- 2 replies
- 0 kudos