liu668 commented on issue #8909:
URL: https://github.com/apache/seatunnel/issues/8909#issuecomment-2739431820

   {
     "env": {
       "execution.parallelism": 1,
       "job.mode":"STREAMING",
       "job.name":"test"
     },
     "source": [
       {
         "plugin_name": "Kafka",
        "bootstrap.servers":  "127.0.0.1:9092",
        "topic": "seatunnel_test",
         "format": "json",
         "schema": {
           "fields": {
               "app_id":"STRING",
               "channel_id":"STRING",
               "user_id":"STRING",
               "device_id":"STRING",
               "request_id":"STRING",
               "page_url":"STRING",
               "os":"STRING",
               "user_agent":"STRING",
               "screen_height":"STRING",
               "screen_width":"STRING",
               "lib_type":"STRING",
               "lib_version":"STRING",
               "timezone_offset":"STRING",
               "spm":"STRING",
               "event_time":"STRING",
               "event_type":"STRING",
               "event_detail":"STRING",
               "ip":"STRING",
               "collect_time":"STRING",
               "data_type":"STRING",
               "_lang":"STRING",
               "_siteId": "INT",
               "_version":"STRING",
               "year": "STRING",
               "month": "STRING",
               "day": "STRING"
           }
         
       }
       }
     ],
     "transform": [
   
       
   
     ],
     "sink": [
       {
         "plugin_name": "S3File",
         "bucket": "s3a://xxxx",
         "path": "/seatunnel/data",
         "fs.s3a.endpoint":"s3.eu-central-1.amazonaws.com",
         
"fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider",
         "access_key": "xxxx",
         "secret_key": "xxxx",
         "have_partition" :true,
         "partition_by" : ["app_id","year","month","day"],
         "sink_columns" : 
["_site_id","year","month","day","app_id","channel_id","user_id","device_id","request_id","page_url","os","user_agent","screen_height","screen_width","lib_type","lib_version","timezone_offset","spm","event_time","event_type","event_detail","ip","collect_time","data_type","_lang","_version"],
         "partition_dir_expression" : 
"${k0}=${v0}/${k1}=${v1}/${k2}=${v2}/${k3}=${v3}/",
         "is_partition_field_write_in_file" : false,
         "custom_filename" :true,
         "file_name_expression" :"${transactionId}_${now}",
         "filename_time_format" : "yyyy.MM.dd",
         "is_enable_transaction":true,
         "file_format_type": "parquet",
         "data_save_mode":"APPEND_DATA"
       }
     ]
   }
   But now I just want to remove the year, month, and day from the schema in 
the source. How can I modify it?


-- 
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: commits-unsubscr...@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to