-
Notifications
You must be signed in to change notification settings - Fork 2.8k
/
PostgreSqlClient.java
523 lines (483 loc) · 23 KB
/
PostgreSqlClient.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.prestosql.plugin.postgresql;
import com.fasterxml.jackson.core.JsonFactory;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import io.airlift.json.ObjectMapperProvider;
import io.airlift.slice.DynamicSliceOutput;
import io.airlift.slice.Slice;
import io.airlift.slice.SliceOutput;
import io.prestosql.plugin.jdbc.BaseJdbcClient;
import io.prestosql.plugin.jdbc.BaseJdbcConfig;
import io.prestosql.plugin.jdbc.BlockReadFunction;
import io.prestosql.plugin.jdbc.BlockWriteFunction;
import io.prestosql.plugin.jdbc.ColumnMapping;
import io.prestosql.plugin.jdbc.ConnectionFactory;
import io.prestosql.plugin.jdbc.JdbcColumnHandle;
import io.prestosql.plugin.jdbc.JdbcIdentity;
import io.prestosql.plugin.jdbc.JdbcTableHandle;
import io.prestosql.plugin.jdbc.JdbcTypeHandle;
import io.prestosql.plugin.jdbc.LongWriteFunction;
import io.prestosql.plugin.jdbc.SliceWriteFunction;
import io.prestosql.plugin.jdbc.StatsCollecting;
import io.prestosql.plugin.jdbc.WriteMapping;
import io.prestosql.spi.PrestoException;
import io.prestosql.spi.block.Block;
import io.prestosql.spi.block.BlockBuilder;
import io.prestosql.spi.connector.ConnectorSession;
import io.prestosql.spi.connector.ConnectorTableMetadata;
import io.prestosql.spi.connector.SchemaTableName;
import io.prestosql.spi.connector.TableNotFoundException;
import io.prestosql.spi.type.ArrayType;
import io.prestosql.spi.type.MapType;
import io.prestosql.spi.type.StandardTypes;
import io.prestosql.spi.type.TinyintType;
import io.prestosql.spi.type.Type;
import io.prestosql.spi.type.TypeManager;
import io.prestosql.spi.type.TypeSignature;
import io.prestosql.spi.type.VarcharType;
import org.postgresql.core.TypeInfo;
import org.postgresql.jdbc.PgConnection;
import org.postgresql.util.PGobject;
import javax.inject.Inject;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.sql.Array;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Types;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.UUID;
import java.util.function.BiFunction;
import static com.fasterxml.jackson.core.JsonFactory.Feature.CANONICALIZE_FIELD_NAMES;
import static com.fasterxml.jackson.databind.SerializationFeature.ORDER_MAP_ENTRIES_BY_KEYS;
import static io.airlift.slice.SizeOf.SIZE_OF_LONG;
import static io.airlift.slice.Slices.utf8Slice;
import static io.airlift.slice.Slices.wrappedLongArray;
import static io.prestosql.plugin.jdbc.ColumnMapping.DISABLE_PUSHDOWN;
import static io.prestosql.plugin.jdbc.JdbcErrorCode.JDBC_ERROR;
import static io.prestosql.plugin.jdbc.StandardColumnMappings.timestampColumnMapping;
import static io.prestosql.plugin.jdbc.StandardColumnMappings.timestampWriteFunction;
import static io.prestosql.plugin.jdbc.StandardColumnMappings.tinyintWriteFunction;
import static io.prestosql.plugin.jdbc.StandardColumnMappings.varbinaryWriteFunction;
import static io.prestosql.plugin.postgresql.TypeUtils.getArrayElementPgTypeName;
import static io.prestosql.plugin.postgresql.TypeUtils.getJdbcObjectArray;
import static io.prestosql.plugin.postgresql.TypeUtils.jdbcObjectArrayToBlock;
import static io.prestosql.plugin.postgresql.TypeUtils.toBoxedArray;
import static io.prestosql.spi.StandardErrorCode.ALREADY_EXISTS;
import static io.prestosql.spi.StandardErrorCode.INVALID_FUNCTION_ARGUMENT;
import static io.prestosql.spi.StandardErrorCode.NOT_SUPPORTED;
import static io.prestosql.spi.type.DateTimeEncoding.packDateTimeWithZone;
import static io.prestosql.spi.type.DateTimeEncoding.unpackMillisUtc;
import static io.prestosql.spi.type.TimeZoneKey.UTC_KEY;
import static io.prestosql.spi.type.TimestampType.TIMESTAMP;
import static io.prestosql.spi.type.TimestampWithTimeZoneType.TIMESTAMP_WITH_TIME_ZONE;
import static io.prestosql.spi.type.VarbinaryType.VARBINARY;
import static java.lang.String.format;
import static java.nio.charset.StandardCharsets.UTF_8;
import static java.sql.DatabaseMetaData.columnNoNulls;
public class PostgreSqlClient
extends BaseJdbcClient
{
private static final String DUPLICATE_TABLE_SQLSTATE = "42P07";
private final Type jsonType;
private final Type uuidType;
private final MapType varcharMapType;
private final boolean supportArrays;
@Inject
public PostgreSqlClient(
BaseJdbcConfig config,
PostgreSqlConfig postgreSqlConfig,
@StatsCollecting ConnectionFactory connectionFactory,
TypeManager typeManager)
{
super(config, "\"", connectionFactory);
this.jsonType = typeManager.getType(new TypeSignature(StandardTypes.JSON));
this.uuidType = typeManager.getType(new TypeSignature(StandardTypes.UUID));
this.varcharMapType = (MapType) typeManager.getType(TypeSignature.parseTypeSignature("map(varchar, varchar)"));
switch (postgreSqlConfig.getArrayMapping()) {
case DISABLED:
supportArrays = false;
break;
case AS_ARRAY:
supportArrays = true;
break;
default:
throw new IllegalArgumentException("Unsupported ArrayMapping: " + postgreSqlConfig.getArrayMapping());
}
}
@Override
public void createTable(ConnectorSession session, ConnectorTableMetadata tableMetadata)
{
try {
createTable(session, tableMetadata, tableMetadata.getTable().getTableName());
}
catch (SQLException e) {
boolean exists = DUPLICATE_TABLE_SQLSTATE.equals(e.getSQLState());
throw new PrestoException(exists ? ALREADY_EXISTS : JDBC_ERROR, e);
}
}
@Override
protected void renameTable(JdbcIdentity identity, String catalogName, String schemaName, String tableName, SchemaTableName newTable)
{
if (!schemaName.equals(newTable.getSchemaName())) {
throw new PrestoException(NOT_SUPPORTED, "Table rename across schemas is not supported in PostgreSQL");
}
String sql = format(
"ALTER TABLE %s RENAME TO %s",
quoted(catalogName, schemaName, tableName),
quoted(newTable.getTableName()));
try (Connection connection = connectionFactory.openConnection(identity)) {
execute(connection, sql);
}
catch (SQLException e) {
throw new PrestoException(JDBC_ERROR, e);
}
}
@Override
public PreparedStatement getPreparedStatement(Connection connection, String sql)
throws SQLException
{
connection.setAutoCommit(false);
PreparedStatement statement = connection.prepareStatement(sql);
statement.setFetchSize(1000);
return statement;
}
@Override
protected ResultSet getTables(Connection connection, Optional<String> schemaName, Optional<String> tableName)
throws SQLException
{
DatabaseMetaData metadata = connection.getMetaData();
Optional<String> escape = Optional.ofNullable(metadata.getSearchStringEscape());
return metadata.getTables(
connection.getCatalog(),
escapeNamePattern(schemaName, escape).orElse(null),
escapeNamePattern(tableName, escape).orElse(null),
new String[] {"TABLE", "VIEW", "MATERIALIZED VIEW", "FOREIGN TABLE"});
}
@Override
public List<JdbcColumnHandle> getColumns(ConnectorSession session, JdbcTableHandle tableHandle)
{
try (Connection connection = connectionFactory.openConnection(JdbcIdentity.from(session))) {
Map<String, Integer> arrayColumnDimensions = getArrayColumnDimensions(connection, tableHandle);
try (ResultSet resultSet = getColumns(tableHandle, connection.getMetaData())) {
List<JdbcColumnHandle> columns = new ArrayList<>();
while (resultSet.next()) {
String columnName = resultSet.getString("COLUMN_NAME");
JdbcTypeHandle typeHandle = new JdbcTypeHandle(
resultSet.getInt("DATA_TYPE"),
Optional.of(resultSet.getString("TYPE_NAME")),
resultSet.getInt("COLUMN_SIZE"),
resultSet.getInt("DECIMAL_DIGITS"),
Optional.ofNullable(arrayColumnDimensions.get(columnName)));
Optional<ColumnMapping> columnMapping = toPrestoType(session, connection, typeHandle);
// skip unsupported column types
if (columnMapping.isPresent()) {
boolean nullable = (resultSet.getInt("NULLABLE") != columnNoNulls);
columns.add(new JdbcColumnHandle(columnName, typeHandle, columnMapping.get().getType(), nullable));
}
}
if (columns.isEmpty()) {
// In rare cases a table might have no columns.
throw new TableNotFoundException(tableHandle.getSchemaTableName());
}
return ImmutableList.copyOf(columns);
}
}
catch (SQLException e) {
throw new PrestoException(JDBC_ERROR, e);
}
}
private Map<String, Integer> getArrayColumnDimensions(Connection connection, JdbcTableHandle tableHandle)
throws SQLException
{
if (!supportArrays) {
return ImmutableMap.of();
}
String sql = "" +
"SELECT att.attname, greatest(att.attndims, 1) AS attndims " +
"FROM pg_attribute att " +
" JOIN pg_type attyp ON att.atttypid = attyp.oid" +
" JOIN pg_class tbl ON tbl.oid = att.attrelid " +
" JOIN pg_namespace ns ON tbl.relnamespace = ns.oid " +
"WHERE ns.nspname = ? " +
"AND tbl.relname = ? " +
"AND attyp.typcategory = 'A' ";
try (PreparedStatement statement = connection.prepareStatement(sql)) {
statement.setString(1, tableHandle.getSchemaName());
statement.setString(2, tableHandle.getTableName());
Map<String, Integer> arrayColumnDimensions = new HashMap<>();
try (ResultSet resultSet = statement.executeQuery()) {
while (resultSet.next()) {
arrayColumnDimensions.put(resultSet.getString("attname"), resultSet.getInt("attndims"));
}
}
return arrayColumnDimensions;
}
}
@Override
public Optional<ColumnMapping> toPrestoType(ConnectorSession session, Connection connection, JdbcTypeHandle typeHandle)
{
String jdbcTypeName = typeHandle.getJdbcTypeName()
.orElseThrow(() -> new PrestoException(JDBC_ERROR, "Type name is missing: " + typeHandle));
switch (jdbcTypeName) {
case "uuid":
return Optional.of(uuidColumnMapping());
case "jsonb":
case "json":
return Optional.of(jsonColumnMapping());
case "timestamptz":
// PostgreSQL's "timestamp with time zone" is reported as Types.TIMESTAMP rather than Types.TIMESTAMP_WITH_TIMEZONE
return Optional.of(timestampWithTimeZoneColumnMapping());
case "hstore":
return Optional.of(hstoreColumnMapping());
}
if (typeHandle.getJdbcType() == Types.VARCHAR && !jdbcTypeName.equals("varchar")) {
// This can be e.g. an ENUM
return Optional.of(typedVarcharColumnMapping(jdbcTypeName));
}
if (typeHandle.getJdbcType() == Types.TIMESTAMP) {
return Optional.of(timestampColumnMapping(session));
}
if (typeHandle.getJdbcType() == Types.ARRAY && supportArrays) {
if (!typeHandle.getArrayDimensions().isPresent()) {
return Optional.empty();
}
JdbcTypeHandle elementTypeHandle = getArrayElementTypeHandle(connection, typeHandle);
String elementTypeName = typeHandle.getJdbcTypeName()
.orElseThrow(() -> new PrestoException(JDBC_ERROR, "Element type name is missing: " + elementTypeHandle));
if (elementTypeHandle.getJdbcType() == Types.VARBINARY) {
// PostgreSQL jdbc driver doesn't currently support array of varbinary (bytea[])
// https://github.com/pgjdbc/pgjdbc/pull/1184
return Optional.empty();
}
return toPrestoType(session, connection, elementTypeHandle)
.map(elementMapping -> {
ArrayType prestoArrayType = new ArrayType(elementMapping.getType());
int arrayDimensions = typeHandle.getArrayDimensions().get();
for (int i = 1; i < arrayDimensions; i++) {
prestoArrayType = new ArrayType(prestoArrayType);
}
return arrayColumnMapping(session, prestoArrayType, elementTypeName);
});
}
// TODO support PostgreSQL's TIME WITH TIME ZONE explicitly, otherwise predicate pushdown for these types may be incorrect
return super.toPrestoType(session, connection, typeHandle);
}
@Override
public WriteMapping toWriteMapping(ConnectorSession session, Type type)
{
if (VARBINARY.equals(type)) {
return WriteMapping.sliceMapping("bytea", varbinaryWriteFunction());
}
if (TIMESTAMP.equals(type)) {
return WriteMapping.longMapping("timestamp", timestampWriteFunction(session));
}
if (TIMESTAMP_WITH_TIME_ZONE.equals(type)) {
return WriteMapping.longMapping("timestamp with time zone", timestampWithTimeZoneWriteFunction());
}
if (TinyintType.TINYINT.equals(type)) {
return WriteMapping.longMapping("smallint", tinyintWriteFunction());
}
if (type.getTypeSignature().getBase().equals(StandardTypes.JSON)) {
return WriteMapping.sliceMapping("jsonb", typedVarcharWriteFunction("json"));
}
if (type.getTypeSignature().getBase().equals(StandardTypes.UUID)) {
return WriteMapping.sliceMapping("uuid", uuidWriteFunction());
}
if (type instanceof ArrayType && supportArrays) {
Type elementType = ((ArrayType) type).getElementType();
String elementDataType = toWriteMapping(session, elementType).getDataType();
return WriteMapping.blockMapping(elementDataType + "[]", arrayWriteFunction(session, elementType, getArrayElementPgTypeName(session, this, elementType)));
}
return super.toWriteMapping(session, type);
}
@Override
protected Optional<BiFunction<String, Long, String>> limitFunction()
{
return Optional.of((sql, limit) -> sql + " LIMIT " + limit);
}
@Override
public boolean isLimitGuaranteed()
{
return true;
}
private static ColumnMapping timestampWithTimeZoneColumnMapping()
{
return ColumnMapping.longMapping(
TIMESTAMP_WITH_TIME_ZONE,
(resultSet, columnIndex) -> {
// PostgreSQL does not store zone information in "timestamp with time zone" data type
long millisUtc = resultSet.getTimestamp(columnIndex).getTime();
return packDateTimeWithZone(millisUtc, UTC_KEY);
},
timestampWithTimeZoneWriteFunction());
}
private static LongWriteFunction timestampWithTimeZoneWriteFunction()
{
return (statement, index, value) -> {
// PostgreSQL does not store zone information in "timestamp with time zone" data type
long millisUtc = unpackMillisUtc(value);
statement.setTimestamp(index, new java.sql.Timestamp(millisUtc));
};
}
private ColumnMapping hstoreColumnMapping()
{
return ColumnMapping.blockMapping(
varcharMapType,
varcharMapReadFunction(),
(statement, index, block) -> { throw new PrestoException(NOT_SUPPORTED, "PosgtreSQL hstore write is not supported"); },
DISABLE_PUSHDOWN);
}
private BlockReadFunction varcharMapReadFunction()
{
return (resultSet, columnIndex) -> {
@SuppressWarnings("unchecked")
Map<String, String> map = (Map<String, String>) resultSet.getObject(columnIndex);
BlockBuilder keyBlockBuilder = varcharMapType.getKeyType().createBlockBuilder(null, map.size());
BlockBuilder valueBlockBuilder = varcharMapType.getValueType().createBlockBuilder(null, map.size());
for (Map.Entry<String, String> entry : map.entrySet()) {
if (entry.getKey() == null) {
throw new PrestoException(INVALID_FUNCTION_ARGUMENT, "hstore key is null");
}
varcharMapType.getKeyType().writeSlice(keyBlockBuilder, utf8Slice(entry.getKey()));
if (entry.getValue() == null) {
valueBlockBuilder.appendNull();
}
else {
varcharMapType.getValueType().writeSlice(valueBlockBuilder, utf8Slice(entry.getValue()));
}
}
return varcharMapType.createBlockFromKeyValue(Optional.empty(), new int[] {0, map.size()}, keyBlockBuilder.build(), valueBlockBuilder.build())
.getObject(0, Block.class);
};
}
private static ColumnMapping arrayColumnMapping(ConnectorSession session, ArrayType arrayType, String elementJdbcTypeName)
{
return ColumnMapping.blockMapping(
arrayType,
arrayReadFunction(session, arrayType.getElementType()),
arrayWriteFunction(session, arrayType.getElementType(), elementJdbcTypeName));
}
private static BlockReadFunction arrayReadFunction(ConnectorSession session, Type elementType)
{
return (resultSet, columnIndex) -> {
Object[] objectArray = toBoxedArray(resultSet.getArray(columnIndex).getArray());
return jdbcObjectArrayToBlock(session, elementType, objectArray);
};
}
private static BlockWriteFunction arrayWriteFunction(ConnectorSession session, Type elementType, String elementJdbcTypeName)
{
return (statement, index, block) -> {
Array jdbcArray = statement.getConnection().createArrayOf(elementJdbcTypeName, getJdbcObjectArray(session, elementType, block));
statement.setArray(index, jdbcArray);
};
}
private JdbcTypeHandle getArrayElementTypeHandle(Connection connection, JdbcTypeHandle arrayTypeHandle)
{
String jdbcTypeName = arrayTypeHandle.getJdbcTypeName()
.orElseThrow(() -> new PrestoException(JDBC_ERROR, "Type name is missing: " + arrayTypeHandle));
try {
TypeInfo typeInfo = connection.unwrap(PgConnection.class).getTypeInfo();
int pgElementOid = typeInfo.getPGArrayElement(typeInfo.getPGType(jdbcTypeName));
return new JdbcTypeHandle(
typeInfo.getSQLType(pgElementOid),
Optional.of(typeInfo.getPGType(pgElementOid)),
arrayTypeHandle.getColumnSize(),
arrayTypeHandle.getDecimalDigits(),
arrayTypeHandle.getArrayDimensions());
}
catch (SQLException e) {
throw new PrestoException(JDBC_ERROR, e);
}
}
private ColumnMapping jsonColumnMapping()
{
return ColumnMapping.sliceMapping(
jsonType,
(resultSet, columnIndex) -> jsonParse(utf8Slice(resultSet.getString(columnIndex))),
typedVarcharWriteFunction("json"),
DISABLE_PUSHDOWN);
}
private ColumnMapping typedVarcharColumnMapping(String jdbcTypeName)
{
return ColumnMapping.sliceMapping(
VarcharType.VARCHAR,
(resultSet, columnIndex) -> utf8Slice(resultSet.getString(columnIndex)),
typedVarcharWriteFunction(jdbcTypeName));
}
private static SliceWriteFunction typedVarcharWriteFunction(String jdbcTypeName)
{
return (statement, index, value) -> {
PGobject pgObject = new PGobject();
pgObject.setType(jdbcTypeName);
pgObject.setValue(value.toStringUtf8());
statement.setObject(index, pgObject);
};
}
private static SliceWriteFunction uuidWriteFunction()
{
return (statement, index, value) -> {
UUID uuid = new UUID(value.getLong(0), value.getLong(SIZE_OF_LONG));
statement.setObject(index, uuid, Types.OTHER);
};
}
private static Slice uuidSlice(UUID uuid)
{
return wrappedLongArray(uuid.getMostSignificantBits(), uuid.getLeastSignificantBits());
}
private ColumnMapping uuidColumnMapping()
{
return ColumnMapping.sliceMapping(
uuidType,
(resultSet, columnIndex) -> uuidSlice((UUID) resultSet.getObject(columnIndex)),
uuidWriteFunction());
}
private static final JsonFactory JSON_FACTORY = new JsonFactory()
.disable(CANONICALIZE_FIELD_NAMES);
private static final ObjectMapper SORTED_MAPPER = new ObjectMapperProvider().get().configure(ORDER_MAP_ENTRIES_BY_KEYS, true);
private static Slice jsonParse(Slice slice)
{
try (JsonParser parser = createJsonParser(slice)) {
byte[] in = slice.getBytes();
SliceOutput dynamicSliceOutput = new DynamicSliceOutput(in.length);
SORTED_MAPPER.writeValue((OutputStream) dynamicSliceOutput, SORTED_MAPPER.readValue(parser, Object.class));
// nextToken() returns null if the input is parsed correctly,
// but will throw an exception if there are trailing characters.
parser.nextToken();
return dynamicSliceOutput.slice();
}
catch (Exception e) {
throw new PrestoException(INVALID_FUNCTION_ARGUMENT, format("Cannot convert '%s' to JSON", slice.toStringUtf8()));
}
}
private static JsonParser createJsonParser(Slice json)
throws IOException
{
// Jackson tries to detect the character encoding automatically when using InputStream
// so we pass an InputStreamReader instead.
return JSON_FACTORY.createParser(new InputStreamReader(json.getInput(), UTF_8));
}
}