BigQuery issue on Tableau - google-analytics

We can't get the BigQuery data that came from Google Analytics Premium on Tableau recently. It used to work.
It returns the error message like this
The Google BigQuery service was unable to compile the query.
Unrecognized name: device.browser at [1:8]
The Google BigQuery service was unable to compile the query.
Unrecognized name: customDimensions.index; Did you mean customDimensions? at [1:80]
As we haven't done on changes on BigQuery structure. Any idea to solve the issue?

Looks like you have nested fields in your table
Solution: I solved it by creating a view in which I provided an alias name for each nested column(something like parent.child1 as parent_child1 and parent.child2 as parent_child2).
Then referenced the View in Tableau.

Related

How to query Chart of Accounts when connecting to NetSuite using ODBC?

Can I query chart of accounts data when connecting with ODBC? I can't find the table with this information. I found an object called "Accounts" in Connect Browser but when I run the following query it's complaining object doesn't exist. I'm connecting to NetSuite2.com
SELECT * FROM Account
ERROR [42S02] [NetSuite][ODBC 32bit driver][OpenAccess SDK SQL Engine]Base table:Accounts
the query that you want to use is
select * from account
if you are using the analytics schema, but if you are using the connect schema, the query is
select * from accounts
You can tell if you're using the connect schema or the analytics schema by checking your connection string. If the SDSN variable in the connection string is Netsuite2.com, you are using the analytics schema. If the SDSN variable i the connection string is Netsuite.com, you are using the connect schema.
To see what tables / columns are available using the analytics schema, you can use this site:
https://www.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2021_1/analytics/record/account.html
It's not great at navigation but can help if you know what you're looking for.

Asp.net Register Stored Procedure gives error

I am using asp.net 4.6.1 and am unable to create an account via Register Page.
The stored procedure aspnet_Membership_CreateUser gives the following error:
The conversion of a datetime data type to a smalldatetime data type resulted in an out-of-range value.
The statement has been terminated.
I have tried googling it but have failed to find the solution to it.
The same functionality works fine locally creating an account on my local Sql db.
But does not create the account on server db.
Yep Buddy! Got that Fixed!
I was right about the aspnet_membership table.
Instead of importing membership and identity records, I had to create new entries in membership tables.
This time the Register page was able to create the User Account.
Thanks for being patient though, buddy..
Jamshaid Kamran, you kept my juices running.

firebase logging best practice

I'm looking for a way to log everything that is written on a firebase database. For now, I'm using a few firebase functions that are simply printing a diff between old values and new ones. However I'm not sure the firebase functions logs screen is the best tool in this situation. Do you have any recommendations?
I had a similar problem and I ended up adding database triggers in which I send data to another firebase database (using the production one is not recommended) which stored the logs in the following form:
logs:{
myFunction:{
'10.01.2018': {
debug: 'Some logging here',
error: 'Some error here'
}
}
}
I found a way.
I'm still using firebase functions to log a diff of the previous and current values of objects written on my database.
I'm now using stackdriver logging from google cloud platform to visualize the logs, and this tool is what I was looking for.

Using Firebase Crash Reporting Exception in BigQuery

We've enabled Firebase crash reporting export to Big Query. I can query that data, and see and use the app_event.name = 'app_exception'.
How can I include the stack trace in my BigQuery query statements? I do not see it referenced in the doc. I thought it might be hidden in one of the event_dim.params.key, but a distinct query upon those did not find the stacktrace.

Is there any way to input the result got from the curl via fluentd?

We are seeking the most simple way for sending alfresco's audit log to elasticsearch.
I think using the alfresco supplying query and getting audit log would be most simple way.(since audit log data is hardly watchable on db)
And this query processes the effect measure as json type then I'd like to download the query direct using fluentd and send to elasticsearch.
I roughly understood that it would ouput at elasticsearc but I wonder whether I can download 'curl commend' using query direct at fluentd.
Otherwise, if you have other simple idea to get alfresco's audit log then kindly let me know.
I am not sure weather I understood it fully or not but based on your last statement I am giving this answer.
To retrieve audit entries from alfresco repository you could directly use REST APIs of Alfresco which allows you to access them.

Resources