healchow commented on code in PR #7333:
URL: https://github.com/apache/inlong/pull/7333#discussion_r1099619178
##########
inlong-manager/manager-web/sql/apache_inlong_manager.sql:
##########
@@ -298,8 +298,8 @@ CREATE TABLE IF NOT EXISTS `inlong_stream_field`
`field_type` varchar(20) NOT NULL COMMENT 'field type',
`field_comment` varchar(50) DEFAULT NULL COMMENT 'Field
description',
`is_meta_field` smallint(3) DEFAULT '0' COMMENT 'Is this field a
meta field? 0: no, 1: yes',
- `meta_field_name` varchar(20) DEFAULT NULL COMMENT 'Meta field name',
- `field_format` varchar(50) DEFAULT NULL COMMENT 'Field format,
including: MICROSECONDS, MILLISECONDS, SECONDS, SQL, ISO_8601 and custom such
as yyyy-MM-dd HH:mm:ss',
+ `meta_field_name` varchar(120) DEFAULT NULL COMMENT 'Meta field name',
+ `field_format` text DEFAULT NULL COMMENT 'Field format, including:
MICROSECONDS, MILLISECONDS, SECONDS, SQL, ISO_8601 and custom such as
yyyy-MM-dd HH:mm:ss',
Review Comment:
Why does `field_format` need text type? In what scenario does it store long
strings?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]