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年前1765ビュー
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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ