在 AWS Web 查询编辑器中向 Timestream 表添加列

0

【以下的问题经过翻译处理】 首先......这可能吗?

我想在一个名为 "MedFlaminator "的表中添加一列。我刚刚创建了该表,它采用默认布局。有两列:

measure_name varchar MEASURE_NAME

time timestamp TIMESTAMP

我的查询如下所示:

alter table MedFlaminator add column feedback_score int

我已经尝试了这个查询的各种组合。我收到以下错误:

10:58:16 AM Failed The query syntax is invalid at line 1:1 alter table MedFlaminator add column feedback_score int

这里有什么问题?

profile picture
EXPERT
asked 8 months ago42 views
1 Answer
0

【以下的回答经过翻译处理】 我找到了答案。尽管 Timestream 使用 sql 语言,但数据库表的管理方式不同。时间流表会根据您发送的数据自动添加列。我强烈推荐观看 这次深入探讨(真的没那么难)。这个视频非常非常值得。

profile picture
EXPERT
answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions