Adding columns to Timestream table in the AWS web query editor

0

First...is it possible?

I am trying to add a column to a table called "MedFlaminator". I just created the table and it has the default layout. Two columns exist:

measure_name varchar MEASURE_NAME

time timestamp TIMESTAMP

My query looks like this:

alter table MedFlaminator add column feedback_score int

I have tried all kinds of combinations of this query. I am getting the following error:

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

What is wrong here?

flycast
已提问 2 年前1715 查看次数
1 回答
0
已接受的回答

I found my answer. Although Timestream uses sql language the database tables are not managed the same way. Timestream tables get columns automatically added based on what data you send them. I highly recommend watching this deep dive (it really isn't that hard). This video is very, very worth while.

flycast
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则