Open allendang001 opened 4 years ago
This is intentionally not documented, because file metastore is not a supported feature.
@allendang001 :
We have tested in the local file system and Tencent Cloud's cos, both are worked.
I know it works, we use it for testing purposes. In fact, the implementation is tailored for testing purposes too.
We make no backward compatibility guarantees for the internal structures used by the FileHiveMetastore
.
In fact, we may need to introduce breaking changes to overcome existing limitations in that metastore.
I would not want to cause breakage for the users. If we were to document the file metastore, it would need to come with all these considerations as warnings / disclaimers.
@allendang001 :
We have tested in the local file system and Tencent Cloud's cos, both are worked.
I know it works, we use it for testing purposes. In fact, the implementation is tailored for testing purposes too. We make no backward compatibility guarantees for the internal structures used by the
FileHiveMetastore
. In fact, we may need to introduce breaking changes to overcome existing limitations in that metastore. I would not want to cause breakage for the users. If we were to document the file metastore, it would need to come with all these considerations as warnings / disclaimers.
If it is the realization of the test purpose, we can introduce this usage, and then declare the follow-up support and disclaimer in the document. It just so happens that the function we want is similar to this one. It was only after reading the code that we realized that we can still play like this. Documented this can also help those who need it later understand this implementation and improve this feature.
hi @allendang001 @findepi This function is very helpful for landing the results of DQL on the public cloud on cos. Because it does not need to create an entity table in the hive metastore, and output the results in various formats.
@findepi What should i do for merging this issue? Change something in document or add something? The realization of file metastore is very useful for many people like us.
@electrum PTAL
hi @electrum PTAL
I think it's fine if we document this. We might want to mention its limitations and say that it is mainly for testing purposes.
Now, could this issue be merged?
Currently, presto supports directly using files as the configuration of hive.metastore, but there is no introduction in the hive-connector document.