mirror of https://github.com/alibaba/DataX.git
				
				
				
			fix some typos
Signed-off-by: cuishuang <imcusg@gmail.com>
This commit is contained in:
		
							parent
							
								
									894b57bd3d
								
							
						
					
					
						commit
						a66a1b5df8
					
				|  | @ -70,7 +70,7 @@ public class DataType { | |||
|         } else if ("datetime".equals(type)) { | ||||
|             return DATETIME; | ||||
|         } else { | ||||
|             throw new IllegalArgumentException("unkown type: " + type); | ||||
|             throw new IllegalArgumentException("unknown type: " + type); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
|  | @ -61,7 +61,7 @@ public class FilterTransformer extends Transformer { | |||
|             } else if (code.equalsIgnoreCase("<=")) { | ||||
|                 return doLess(record, value, column, true); | ||||
|             } else { | ||||
|                 throw new RuntimeException("dx_filter can't suport code:" + code); | ||||
|                 throw new RuntimeException("dx_filter can't support code:" + code); | ||||
|             } | ||||
|         } catch (Exception e) { | ||||
|             throw DataXException.asDataXException(TransformerErrorCode.TRANSFORMER_RUN_EXCEPTION, e.getMessage(), e); | ||||
|  |  | |||
|  | @ -175,7 +175,7 @@ public class HBase20SQLReaderHelper { | |||
|         if (querySql == null || querySql.isEmpty()) { | ||||
|             // 如果splitPoints为空,则根据splitKey自动切分,不过这种切分方式无法保证数据均分,且只支持整形和字符型列 | ||||
|             if (splitPoints == null || splitPoints.isEmpty()) { | ||||
|                 LOG.info("Split accoring min and max value of splitColumn..."); | ||||
|                 LOG.info("Split according min and max value of splitColumn..."); | ||||
|                 Pair<Object, Object> minMaxPK = getPkRange(configuration); | ||||
|                 if (null == minMaxPK) { | ||||
|                     throw DataXException.asDataXException(HBase20xSQLReaderErrorCode.ILLEGAL_SPLIT_PK, | ||||
|  | @ -208,7 +208,7 @@ public class HBase20SQLReaderHelper { | |||
|                 } | ||||
| 
 | ||||
|             } else { | ||||
|                 LOG.info("Split accoring splitPoints..."); | ||||
|                 LOG.info("Split according splitPoints..."); | ||||
|                 // 根据指定splitPoints进行切分 | ||||
|                 rangeList = buildSplitRange(); | ||||
|             } | ||||
|  |  | |||
|  | @ -119,7 +119,7 @@ public class Common { | |||
|                     case BOOLEAN: line.addColumn(new BoolColumn(v.asBoolean()));  break; | ||||
|                     case BINARY:  line.addColumn(new BytesColumn(v.asBinary()));  break; | ||||
|                     default: | ||||
|                         throw new IllegalArgumentException("Unsuporrt tranform the type: " + col.getValue().getType() + "."); | ||||
|                         throw new IllegalArgumentException("Unsupported transform the type: " + col.getValue().getType() + "."); | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue