从文件获取对象大小

时间:2019-02-11 20:51:10

标签: apache-spark spark-avro

我有一个火花作业输出的avro文件,其中包含一些对象:

Objavro.schema�{"type":"record","name":"topLevelRecord","fields": 
[{"name":"Name","type":["String","null"]},{"name":"Age","type": 
["int","null"]}]}

是否可以获取对象的特定大小?

0 个答案:

没有答案