我是新来的大数据和相关技术,所以我不确定我们是否可以将数据追加到现有的ORC文件。我正在使用Java API编写ORC文件,当我关闭Writer时,我无法再次打开文件以向其写入新内容,基本上是为了添加新数据。附加到ORC文件
有没有一种方法可以将数据附加到现有的ORC文件,使用Java Api或Hive或任何其他方式?
一个更澄清,节省的Java util.Date
对象到ORC文件时,ORC类型存储为:
struct<timestamp:struct<fasttime:bigint,cdate:struct<cachedyear:int,cachedfixeddatejan1:bigint,cachedfixeddatenextjan1:bigint>>,
和Java的BigDecimal是:
<margin:struct<intval:struct<signum:int,mag:struct<>,bitcount:int,bitlength:int,lowestsetbit:int,firstnonzerointnum:int>
难道这些正确的,没有任何这方面的信息?
如果您不发布您的代码,我们不能帮助您 – cheseaux
感谢您的回应,但我一般会问。 ORC文件是否支持附加操作。我无法在任何地方找到相关信息。 – rpr