createPartitionedTable函数报错 ’tableName is invalid‘

 schemaTB = table(
        array(STRING, 0) as chrID,
        array(INT, 0) as position,
        array(SYMBOL, 0) as nt
    )
 createPartitionedTable(dbHandle=db, table=schemaTB, tableName="GRCh38-dna-chromosome", partitionColumns=`chrID`position,sortColumns=`chrID`position, keepDuplicates=ALL)

运行以上代码的时候报错’tableName is invalid‘,是分区表的名字无效吗?

请先 登录 后评论

1 个回答

Margo

这个报错是因为"GRCh38-dna-chromosome" 中包含了’-‘。

分区表的表名只能包含数字、字母和下划线,并且不能以数字开头。

请先 登录 后评论
  • 1 关注
  • 0 收藏,733 浏览
  • SaintM 提出于 2023-02-10 17:13

相似问题