Why extension changes to .gzip or .snappy on text file format using --compress but not with avro or any other format



on compressing --as-textfile using --compress changes extension to .gzip
but when using --as-avrodatafile or any other file format extension of hdfs files remains as .avro and not converted to .gzip on compression


@ArnavSood Can you share the command what you have tried?