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

Field name annotation encoding error #308

Open
Jackliebao opened this issue Jul 3, 2024 · 0 comments
Open

Field name annotation encoding error #308

Jackliebao opened this issue Jul 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Jackliebao
Copy link

When the field annotation field name is in Chinese, the following error will be reported

  - name: season_product_predict_seller_sku
    description: "season_data"
    config:
      engine: 'MergeTree'
      unique_key: 'info, update_time'
    columns:
      - name: 年趋势变化率
        description: rate of year
   Code: 62. DB::Exception: Syntax error: failed at position 352 ('\xe5') (line 6, col 85): 年趋势变化率
    $dbt_comment_literal_block$rate of year$dbt_comment_literal_block$

    . Unrecognized token: '\xe5'. (SYNTAX_ERROR) (version 24.4.1.2088 (official build))
  compiled Code at target\run\elt\models\sql_model\store_data\season_product_predict_seller_sku.sql

Currently, English fields are used instead of Chinese fields,
Can Chinese fields be supported in the future?

@Jackliebao Jackliebao added the bug Something isn't working label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant