-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
实现一个hive Reader插件 #201
Comments
已经支持,并且做了如下扩展:
配置参数:viewtype
elementCreatorsource 自定义扩展 element(CMeta)创建方法: public interface ElementCreatorFactory{
CMeta create(JSONObject targetCol);
} 源端 Selected Tab 校验:由于dataX reader 中不能扩展 selectedTab,然后又通过自定义 可以让selectTab 在提交时由宿主DataX Reader 执行表单校验: interface ISubFormItemValidate {
/**
* 校验全部 selected tabs 表单
*
* @param msgHandler
* @param context
* @param props
* @param subFormFilter
* @param formData
* @return
*/
boolean validateSubFormItems(IControlMsgHandler msgHandler, Context context, BaseSubFormProperties props,
IPropertyType.SubFormFilter subFormFilter, AttrVals formData);
/**
* 校验单个selected表单
*
* @param msgHandler
* @param context
* @param tab
* @return
*/
boolean validateSubForm(IControlMsgHandler msgHandler, Context context, SelectedTab tab);
} |
离线分析完成之后需要将离线分析结果导入到外部存储中,需要Hive DataX Reader插件,之前hdfs Reader虽然也能用,但是配置太复杂,需要借助Hive MetaData 数据来反射hive的表存储信息,自动生成col meta
The text was updated successfully, but these errors were encountered: