<@UGRJA9TEH> We tried to create segments through s...
# general
a
@User We tried to create segments through spark for an offline table. We set the configurations 'exclude.sequence.id=true' and ' segment.name.generator.type=normalizedDate' and the segments created did not have sequence_id(TABLE_2020-03-11_2020-03-12.tar.gz). But when we try creating the segments with 'exclude.sequence.id=true' configuration alone (we did not set the normalized date config 'segment.name.generator.type=normalizedDate' ) segments created with sequence_id(TABLE_18025_18027_155). We want to create segments without sequence_id (TABLE_18025_18027). Could you please help? For config segment.name.generator.type can we give normalizedSeconds? We are dealing with hourly data so we would like to create our segments name like (Table_2020-03-11-000000_2020-03-11-040000)
x
I think it has a config to set the granularity I will find it
What’s your table config for this?
currently
exclude.sequence.id=true
only works with
normalizedDate
if you set
hourly
in
pushfrequency
in your table config
then segment name is generated with hour
message has been deleted
a
@Xiang Fu Okay.. I will set push frequency to Hourly and create the segments
k
Can we always use millisecond format? It can be rounded to any granularity