Shall I use Special Characters in Firebase Param Value “event_params.value.string_value” & query in Bigquery?

限于喜欢 提交于 2019-12-13 07:50:05

问题


In Firebase it is clearly mentioned that "Param values can be up to 100 characters long. The "firebase_", "google_" and "ga_" prefixes are reserved and should not be used."

Source: https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.Param

But in Google, they did not mention the usage of special characters.

Shall I use special characters like forward slash & Unicode in Firebase Param Value "event_params.value.string_value"?

Will the special characters in Firebase Param Value "event_params.value.string_value" be accepted in Bigquery Table field event_params.value.string_value ?


回答1:


The documentation you referenced clearly specify requirements for parameter's name and value - so obviously you must comply

Params supply information that contextualize Events. You can associate up to 25 unique Params with each Event type. Some Params are suggested below for certain common Events, but you are not limited to these. You may supply extra Params for suggested Events or custom Params for Custom events. Param names can be up to 40 characters long, may only contain alphanumeric characters and underscores (""), and must start with an alphabetic character. Param values can be up to 100 characters long. The "firebase", "google_" and "ga_" prefixes are reserved and should not be used.

Meantime, those limitations have nothing to do with BigQuery
So, if you are dealing with non-firebase data - feel free to use all those chars

P.S. the best recommendation I can give for such cases - try by your own and you will see. It is so easy and fast to get this type of questions answered!



来源:https://stackoverflow.com/questions/53411760/shall-i-use-special-characters-in-firebase-param-value-event-params-value-strin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!