---
title: TPC-DS分区表SQL5、13、25、62、88和99报错的解决方法
description: "TPCDS分区表SQL5、13、25、62、88和99报错，报错信息如下。"
url: https://www.hikunpeng.com/document/detail/zh/omniruntime/omnidata/kunpengbds_omniruntime_20_0143.html
sourcePath: /source/zh/omniruntime/omnidata/kunpengbds_omniruntime_20_0143.html
indexId: 608636e4dfbb6a2d7ab5f50c38f2fa17dcf0545d424ec838ca537f1ab1edd8ae67
---
# TPC-DS分区表SQL5、13、25、62、88和99报错的解决方法

#### 问题现象描述

TPCDS分区表SQL5、13、25、62、88和99报错，报错信息如下。

```
DeserializeRead detail: Reading byte[] of length 4096 at start offset 532 for length 2 to read 1 fields with types [int].  Read field #1 at field start position 0 current read offset 534
```


#### 关键过程、根本原因分析

Hive参数配置有误。


#### 结论、解决方案及效果

- 在Hive的配置文件hive-site.xml中加入以下参数。
  1 2 3 4 5 6 7 8 9 <property> <name>hive.mapjoin.hybridgrace.hashtable</name> <value>false</value> </property> <property> <name>hive.vectorized.execution.mapjoin.native.fast.hashtable.enabled</name> <value>true</value> </property>

- 使用set命令设置环境变量。
  1 2 set hive.mapjoin.hybridgrace.hashtable=false; set hive.vectorized.execution.mapjoin.native.fast.hashtable.enabled=true;
