Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: TimeStream - ColumnInfo is always null (C#) #10848

Open
1 task done
avitalbg opened this issue May 20, 2024 · 0 comments
Open
1 task done

bug: TimeStream - ColumnInfo is always null (C#) #10848

avitalbg opened this issue May 20, 2024 · 0 comments
Labels
aws:timestream Amazon Timestream status: backlog Triaged but not yet being worked on type: bug Bug report

Comments

@avitalbg
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When trying to query from TimeStream (with pro account) using C# code, the ColumnInfo (which is AWS cllass) is always null.

Expected Behavior

ColumnInfo should contain Name, type, etc. as defined by AWS.

How are you starting LocalStack?

With a docker run command

Steps To Reproduce

                var queryRequest = new QueryRequest
                {
                    QueryString = queryString
                };
 
                QueryResponse queryResponse = new();
                do
                {
                    var response = await _timestreamClient.QueryAsync(queryRequest, cancellationToken);
                    queryResponse.Rows.AddRange(response.Rows);
                    queryResponse.ColumnInfo.AddRange(response.ColumnInfo);
                    queryResponse.NextToken = response.NextToken;
                    queryRequest.NextToken = response.NextToken;
                } while (queryResponse.NextToken is not null);

                var columnInfoToDict = queryResponse.ColumnInfo // throws exception that ColumnInfo  is null
                .Select((col, idx) => new { Column = col, Index = idx })
                .ToDictionary(item => item.Column.Name, item => item.Index);

Environment

LocalStack CLI version: 3.3.0
LocalStack Docker image sha: sha256:922158f066eb20d861f5d2492c54c47eeb6eee43927443e8ca5075d77ea3e853

Anything else?

No response

@avitalbg avitalbg added status: triage needed Requires evaluation by maintainers type: bug Bug report labels May 20, 2024
@Anze1508 Anze1508 added aws:timestream Amazon Timestream status: backlog Triaged but not yet being worked on and removed status: triage needed Requires evaluation by maintainers labels May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws:timestream Amazon Timestream status: backlog Triaged but not yet being worked on type: bug Bug report
Projects
None yet
Development

No branches or pull requests

2 participants