I tried partitioning and bucketing using AWS Glue on S3. But the bucketing did not work. Only the partitioning did work. How can I bucketing with AWS Glue?
datasink4 = glueContext.write_dynamic_frame.from_options(
frame = dropnullfields3,
connection_type = "s3",
connection_options = {"path": s3_output_full,
"partitionKeys": ["PARTITIONKEY"],
"bucketColumns": ["ROW_ID"],
"numberOfBuckets": 12},
format = "parquet",
transformation_ctx = "datasink4")
job.commit()