python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Spark: Write Spark Data Frame with Partition. When to use it and when should be avoid it
Having the following code:
sdf.write.partitionBy("day_of_insertion").format("delta").mode("append").save(path)
The partitioning is done through a column, but depending o...
Enrique Benito Casado
Votes: 0
Answers: 0
Get records Z-Score based on their type
Please consider this records:
Id Type Price
---------------------------
1 1 100
2 2 200
3 1 150
4 1 300
5 ...
Arian
Votes: 0
Answers: 2
Moving values from default subpartition
in an oracle 19c database, on a key value table I've defined a partition on the load timestamp and subpartitions on custom sets of columns.
create table mytable
(
load_Dts timestamp(6) not null,
s...
dbspecialist
Votes: 0
Answers: 1
GroupBy /Map_partitions in Dask
I have a dask dataframe with 2438 partitions ,each partition is 1.1GB a total of 7B rows
I want to do a groupby on multiple columns and aggregate one of the columns
agg = {'total_x':'sum'}
df_s = df_s...
waithira
Votes: 0
Answers: 1