Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/opencv/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Amazon web services 将拼花地板数据保存到S3中,在athena中创建表会为int unsigned带来空值,_Amazon Web Services_Parquet_Aws Glue_Amazon Athena - Fatal编程技术网

Amazon web services 将拼花地板数据保存到S3中,在athena中创建表会为int unsigned带来空值,

Amazon web services 将拼花地板数据保存到S3中,在athena中创建表会为int unsigned带来空值,,amazon-web-services,parquet,aws-glue,amazon-athena,Amazon Web Services,Parquet,Aws Glue,Amazon Athena,我在glue中基于RDS数据库创建了一个数据目录。然后,我创建了一个作业,将单个表转换为拼花地板格式的s3 现在我转到Athena,在s3中从该位置点击CreateTable。 问题是我的原始RDS表中有数据类型为int unsigned的列。当我创建表并从athena查询它时,这些列具有空值。 我也做了同样的事情,但是我没有使用拼花格式,而是使用JSON,一切都很好 为什么parquet会给我带来空值,我能做些什么吗?在创建表时将int数据类型保存为字符串。之后,可以将列转换回int。在创建表

我在glue中基于RDS数据库创建了一个数据目录。然后,我创建了一个作业,将单个表转换为拼花地板格式的s3

现在我转到Athena,在s3中从该位置点击CreateTable。 问题是我的原始RDS表中有数据类型为int unsigned的列。当我创建表并从athena查询它时,这些列具有空值。 我也做了同样的事情,但是我没有使用拼花格式,而是使用JSON,一切都很好
为什么parquet会给我带来空值,我能做些什么吗?

在创建表时将int数据类型保存为字符串。之后,可以将列转换回int。

在创建表时将int数据类型保存为字符串。之后,可以将列强制转换回int