GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — some emoji will become wrong character stored in bigquery while using load_table_from_json · Issue #864 · googleapis/python-bigquery

This repository was archived by the owner on Mar 6, 2026. It is now read-only.
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

some emoji will become wrong character stored in bigquery while using load_table_from_json #864

Copy link
Copy link
Closed
#865
Closed
some emoji will become wrong character stored in bigquery while using load_table_from_json#864
#865
Copy link
Labels
api: bigqueryIssues related to the googleapis/python-bigquery API.

Description

@grimmerk
grimmerk
opened on Aug 9, 2021
Issue body actions

Thanks for stopping by to let us know something could be better!

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

Please run down the following list and make sure you've tried the usual "quick fixes":

  • Search the issues already opened: https://github.com/googleapis/python-bigquery/issues
  • Search StackOverflow: https://stackoverflow.com/questions/tagged/google-cloud-platform+python

If you are still having issues, please be sure to include as much information as possible:

Environment details

  • OS type and version: macOS Big Sur
  • Python version: python --version 3.8.8
  • pip version: pip --version: 21.0.1
  • google-cloud-bigquery version: pip show google-cloud-bigquery: 2.6.1

Steps to reproduce

  1. insert any emoji which is over 0xFFFF into a dict, e.g. 🏦 (\U0001F3E6)
  2. use client.load_table_from_json(rows_to_insert... to upload
  3. see that emoji icon become �� in BigQuery web console

Code example

    bank = "\U0001F3E6" 
    rows_to_insert = [{"emoji": bank}]
    client.load_table_from_json(rows_to_insert, table_id, job_config=job_config)

Stack trace

# example

Making sure to follow these steps will guarantee the quickest resolution possible.

Thanks!

Activity

  1. product-auto-label
    added
    api: bigqueryIssues related to the googleapis/python-bigquery API.
    on Aug 9, 2021
  2. grimmerk
    added a commit that references this issue on Aug 9, 2021

    fix: make unicode characters working well in load_table_from_json (go…

    8b02269
  3. grimmerk
    changed the title [-]some emoji (e.g. \U0001FE6) will become wrong character stored in bigquery while using load_table_from_json[/-] [+]some emoji will become wrong character stored in bigquery while using load_table_from_json[/+] on Aug 9, 2021
  4. tseaver
    closed this as completedin #865on Aug 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: bigqueryIssues related to the googleapis/python-bigquery API.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.