Tableau Prep は3-4週間に一度、機能開発が進みます。 そのうち、昨年バージョンアップにて次の関数が導入されました。 ・Fixed(Tableau同じみのLOD関数ですね) ・Partition(・・・あれSQLにある、、、あいつ?) 先日、「SQLの肝はPartitionだよね!」という ...
Returns the partition number into which a set of partitioning column values would be mapped for any specified partition function. :::image type="icon" source ...
Removes a partition scheme from the current database. Partition schemes are created by using CREATE PARTITION SCHEME and modified by using ALTER PARTITION SCHEME ...
confでspark.sql.sources.partitionOverwriteModeをdynamicにする spark.conf.set('spark.sql.sources.partitionOverwriteMode','dynamic') ( df.write .partitionBy(parts) .mode('ovewrite') .parquet(path) ) 目的 ...
今回も以下のように、前回と同じSQLのチューニングを行います。 select l_orderkey, sum(l_extendedprice * (1 - l_discount)) as revenue, o_orderdate, o_shippriority from customer, orders, lineitem where c_mktsegment = 'BUILDING' and c ...