private static List<HiveColumnHandle> getColumnHandles() { ImmutableList.Builder<HiveColumnHandle> handles = ImmutableList.builder(); List<LineItemColumn> columns = getTestColumns(); for (int i = 0; i < columns.size(); i++) { LineItemColumn column = columns.get(i); HiveType hiveType = getHiveType(column.getType()); handles.add(new HiveColumnHandle(column.getColumnName(), hiveType, hiveType.getTypeSignature(), i, REGULAR, Optional.empty())); } return handles.build(); }
private static List<HiveColumnHandle> getColumnHandles() { ImmutableList.Builder<HiveColumnHandle> handles = ImmutableList.builder(); List<LineItemColumn> columns = getTestColumns(); for (int i = 0; i < columns.size(); i++) { LineItemColumn column = columns.get(i); HiveType hiveType = getHiveType(column.getType()); handles.add(new HiveColumnHandle(column.getColumnName(), hiveType, hiveType.getTypeSignature(), i, REGULAR, Optional.empty())); } return handles.build(); }
private static List<HiveColumnHandle> getColumnHandles() { ImmutableList.Builder<HiveColumnHandle> handles = ImmutableList.builder(); List<LineItemColumn> columns = getTestColumns(); for (int i = 0; i < columns.size(); i++) { LineItemColumn column = columns.get(i); HiveType hiveType = getHiveType(column.getType()); handles.add(new HiveColumnHandle(column.getColumnName(), hiveType, hiveType.getTypeSignature(), i, REGULAR, Optional.empty())); } return handles.build(); }
private static List<HiveColumnHandle> getColumnHandles() { ImmutableList.Builder<HiveColumnHandle> handles = ImmutableList.builder(); List<LineItemColumn> columns = getTestColumns(); for (int i = 0; i < columns.size(); i++) { LineItemColumn column = columns.get(i); HiveType hiveType = getHiveType(column.getType()); handles.add(new HiveColumnHandle(column.getColumnName(), hiveType, hiveType.getTypeSignature(), i, REGULAR, Optional.empty())); } return handles.build(); }
private static List<HiveColumnHandle> getColumnHandles() { ImmutableList.Builder<HiveColumnHandle> handles = ImmutableList.builder(); List<LineItemColumn> columns = getTestColumns(); for (int i = 0; i < columns.size(); i++) { LineItemColumn column = columns.get(i); HiveType hiveType = getHiveType(column.getType()); handles.add(new HiveColumnHandle(CLIENT_ID, column.getColumnName(), hiveType, hiveType.getTypeSignature(), i, false)); } return handles.build(); }
localProperties = ImmutableList.of( new SortingProperty<>(orderKeyColumn, SortOrder.ASC_NULLS_FIRST), new SortingProperty<>(columns.get(LineItemColumn.LINE_NUMBER.getColumnName()), SortOrder.ASC_NULLS_FIRST));