-
Notifications
You must be signed in to change notification settings - Fork 56
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
Conversation
[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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"character varying"
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"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome!
No description provided.