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

Risingwave demo bug fixes #1254

Merged
merged 11 commits into from
Sep 20, 2024
Merged

Conversation

akrambek
Copy link
Contributor

No description provided.

jfallows
jfallows previously approved these changes Sep 19, 2024
jfallows
jfallows previously approved these changes Sep 19, 2024
Comment on lines 103 to 106
[0x69 0x64] # Data
[0x00 0x00 0x00 0x011] # Length
[0x63 0x68 0x61 0x72 0x61 0x63 0x74 0x65 0x72 0x20 0x76 0x61 0x72 0x79 0x69 0x6e 0x67 # Data
[0xff 0xff 0xff 0xff] # Length
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[0x69 0x64] # Data
[0x00 0x00 0x00 0x011] # Length
[0x63 0x68 0x61 0x72 0x61 0x63 0x74 0x65 0x72 0x20 0x76 0x61 0x72 0x79 0x69 0x6e 0x67 # Data
[0xff 0xff 0xff 0xff] # Length
"id" # Data
[0x00 0x00 0x00 0x011] # Length
[0x63 0x68 0x61 0x72 0x61 0x63 0x74 0x65 0x72 0x20 0x76 0x61 0x72 0x79 0x69 0x6e 0x67 # Data
[0xff 0xff 0xff 0xff] # Length

etc for other strings

.build()
.build()}
read [0x00 0x04] # Field Count
[0x00 0x00 0x00 0x04] # Length
[0x63 0x69 0x74 0x79] # Data
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"city"

[0x00 0x00 0x00 0x04] # Length
[0x63 0x69 0x74 0x79] # Data
[0x00 0x00 0x00 0x11] # Length
[0x63 0x68 0x61 0x72 0x61 0x63 0x74 0x65 0x72 0x20 0x76 0x61 0x72 0x79 0x69 0x6e 0x67] # Data
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"character varying"

[0x00 0x00 0x00 0x02] # Length
"id" # Data
[0x00 0x00 0x00 0x11] # Length
[0x63 0x68 0x61 0x72 0x61 0x63 0x74 0x65 0x72 0x20 0x76 0x61 0x72 0x79 0x69 0x6e 0x67] # Data
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"character varying"

[0x00 0x00 0x00 0x02] # Length
"id" # Data
[0x00 0x00 0x00 0x11] # Length
[0x63 0x68 0x61 0x72 0x61 0x63 0x74 0x65 0x72 0x20 0x76 0x61 0x72 0x79 0x69 0x6e 0x67] # Data
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"character varying"

.build()}
write [0x00 0x04] # Field Count
[0x00 0x00 0x00 0x04] # Length
[0x63 0x69 0x74 0x79] # Data
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"city"

[0x00 0x00 0x00 0x04] # Length
[0x63 0x69 0x74 0x79] # Data
[0x00 0x00 0x00 0x11] # Length
[0x63 0x68 0x61 0x72 0x61 0x63 0x74 0x65 0x72 0x20 0x76 0x61 0x72 0x79 0x69 0x6e 0x67] # Data
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"character varying"

Comment on lines +27 to +33
TYPE_MAPPINGS.put("character varying", "VARCHAR");
TYPE_MAPPINGS.put("integer", "INT");
TYPE_MAPPINGS.put("boolean", "BOOL");
TYPE_MAPPINGS.put("character", "CHAR");
TYPE_MAPPINGS.put("timestamp without time zone", "TIMESTAMP");
TYPE_MAPPINGS.put("timestamp with time zone", "TIMESTAMPZ");
TYPE_MAPPINGS.put("double precision", "DOUBLE");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome!

@jfallows jfallows merged commit 41df4bc into aklivity:develop Sep 20, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants