sqoop - 使用 Sqoop,是否可以从 Oracle 视图而不是表执行配置单元导入?
问题描述
假设我有一个通过连接其他几个表创建的 Oracle 视图,可以将视图数据导入 Hive。
提前致谢
解决方案
Yes it is possible as it is an object for sqoop and if we can fire a query, we can fetch data via sqoop. This can be also be checked from sqoop eval command and you can try to run to see if view is accessible or not.
sqoop eval (generic-args) (eval-args)
推荐阅读
- python - 如何根据相邻列的值从数据框中的一列中读取值?
- c - I_n_test = I_N 在 for 循环中是什么意思?
- javascript - Dialogflow 实现:agent.add() 不返回对 webhook (twilio) 的响应,适用于 dialogflow 控制台和谷歌助手
- javascript - POST请求后如何实时刷新数据?
- jquery - Boostrap datepicker:如何设置日期和格式
- javascript - 从 jQuery 到原生 javascript
- python - 重新缩放 Pyspark 数据框以填充某个时间跨度
- python - 如何在 django 的 html 文件中动态添加链接?
- ios - 如何设置不支持模拟器的私有 Pod
- forms - Codeigniter 4 表单验证不起作用