iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

[Bug] 从0.13版本迁移数据到1.1.1版本,报错:not a legal path

Open zhaozhihua2008 opened this issue 2 years ago • 6 comments

Search before asking

  • [X] I searched in the issues and found nothing similar.

Version

1.1.1

Describe the bug and provide the minimal reproduce step

问题:从0.13版本迁移数据到1.1.1版本,报错:Auto create or verify schema error. org.apache.iotdb.commons.exception.IllegalPathException: root.zzh.dev.30027.30027#-10001 is not a legal path

0.13版本中有 device: root.zzh.dev.30027.30027#-10001

What did you expect to see?

数据正常从0.13版本迁移到1.1.1版本

What did you see instead?

Auto create or verify schema error. org.apache.iotdb.commons.exception.IllegalPathException: root.zzh.dev.30027.30027#-10001 is not a legal path

Anything else?

No response

Are you willing to submit a PR?

  • [ ] I'm willing to submit a PR!

zhaozhihua2008 avatar Jul 18 '23 11:07 zhaozhihua2008

1.0以上版本禁止使用全为数字的路径

wanghui42 avatar Aug 02 '23 08:08 wanghui42

这是啥原因啊,我也遇到了

loinKing2 avatar Aug 09 '23 01:08 loinKing2

1.0以上版本禁止使用全为数字的路径

我使用的1.1.1的迁移工具导入的: ./load-tsfile.sh -h 127.0.0.1 -p 6667 -u root -pw root -f ../../apache-iotdb-0.13.2-all-bin/data

迁移工具不打算支持从0.13迁移到1.1.1?

zhaozhihua2008 avatar Aug 10 '23 12:08 zhaozhihua2008

1.0以上版本禁止使用全为数字的路径

我使用的1.1.1的迁移工具导入的: ./load-tsfile.sh -h 127.0.0.1 -p 6667 -u root -pw root -f ../../apache-iotdb-0.13.2-all-bin/data

迁移工具不打算支持从0.13迁移到1.1.1?

不是迁移工具的问题,是iotdb版本不兼容。因为1.0以上的iotdb的节点路径不能出现全为数字的名称,所以load这样的数据会报错。

wanghui42 avatar Aug 15 '23 06:08 wanghui42

1.0以上版本禁止使用全为数字的路径

我使用的1.1.1的迁移工具导入的: ./load-tsfile.sh -h 127.0.0.1 -p 6667 -u root -pw root -f ../../apache-iotdb-0.13.2-all-bin/data 迁移工具不打算支持从0.13迁移到1.1.1?

不是迁移工具的问题,是iotdb版本不兼容。因为1.0以上的iotdb的节点路径不能出现全为数字的名称,所以load这样的数据会报错。

有什么兼容的办法吗?这个 pr 提了很久,但是一直没合并 #8843 [IOTDB-5188][To rel/1.0]Compatible with 0.13 path in Load

Warden-Thresh avatar Aug 16 '23 08:08 Warden-Thresh

1.0以上版本禁止使用全为数字的路径

我使用的1.1.1的迁移工具导入的: ./load-tsfile.sh -h 127.0.0.1 -p 6667 -u root -pw root -f ../../apache-iotdb-0.13.2-all-bin/data 迁移工具不打算支持从0.13迁移到1.1.1?

不是迁移工具的问题,是iotdb版本不兼容。因为1.0以上的iotdb的节点路径不能出现全为数字的名称,所以load这样的数据会报错。

有什么兼容的办法吗?这个 pr 提了很久,但是一直没合并 #8843 [IOTDB-5188][To rel/1.0]Compatible with 0.13 path in Load

也遇到过,中划线也不兼容。 可以在数据加载时,自己改改load代码。 对数字或者中划线使用反引号。进行转义: 123 --> 123. 就是业务有可能也得适配,

BanDuWuZi avatar Dec 25 '23 11:12 BanDuWuZi