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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南