Find defective line based on error message log for Google big query - mysql

I just started working with Google Big query, I am currently trying to uplad some data from my company's DB to Google Big query MySQL table using bq load with log enabled. Many of the uploads failed and this is an example of the errors I am getting:
"message": "Too many values in row starting at position: 394092154."
I am trying to fix the files manually and the error message is quiet clear and concise, but I need to know how to find the exact line of the error based on the position mentioned in the error message.
I couldn't find much in google documentations, I hope it is only from lack of search effort on my side, but did anyone come across this before, how is this calculation done?

go to character in vim
I guess I was too eager to get an answer posting the question, but this solved my issue. I found the line based on this.

Related

How to fix error "Duplicated build" on "readthedocs"?

On readthecods I am trying to build a project, but I get the error
Error
Duplicated build.
How to fix that problem?
I ran into the same issue and after some research I found this pull request indicating that one just has to wait for 5 minutes before trying again.
Indeed after waiting a few minutes I was able to trigger a rebuild without getting the error.
A question that is not yet clear to my is why it was considered a duplicate in the first place, as there was some (admittedly small but relevant) modification on the repository.

MySQL strange behaviour: "b'schemaname'" schema is created

this is my frist time posting something like this but im pulling my hair our, for days on end i have been trying to debug and find what is wrong with mysql, i run a gameserver and use mysql to store all the players information, like items, clothes etc, i recently came into this issue, i can no longer run sql scripts, when i try an error is thrown and a new schema is created with the name of the current schema im trying to run the script in, but it creates it like this b'schemaname' (schemaname being what the name of my schema is that im trying to run the script on), now i have reinstalled mysql and to no luck the issue still persists, i have included a video to show exactly what i mean and what is happening. ----> https://youtu.be/l6o4r5jtpcU <------ I appreciate every and anyone that helps, its not too big of an issue as i can still run the scripts a different way but still, i have no idea what has caused this or a fix for it, thank you

Community Connector Tutorial results in "Unknown data source"

As a first step toward developing my own Community Connector, I have followed the Codelabs Community Connector Tutorial:
https://codelabs.developers.google.com/codelabs/community-connectors/#0
However, at the final step of previewing the output in a report, the connector fails with the error:
Unknown data source
The data source associated with this component could not be loaded
We were not able to find the data source associated with this component. This can happen when a data source is deleted.
See screenshot here.
The tutorial itself is quite minimal, essentially pasting 4 code blocks and a manifest; I've repeated it twice to make sure I didn't miss anything and received the same error each time.
Are you still having this problem? There was an issue with reporting copying earlier this month that caused the issue. This has since been fixed. If it still does not work for you, try the fix mentioned in the linked issue comment.

Scaling Dedupe package functionality to large data using mysql DB

I have been now trying for a while to make a working example of the gazetteer/dedupe that scales to semi-large datasets connecting to SQL (using examples provided by the package) and have been unsuccessful. Would really appreciate if anyone could provide me with some help or share their working samples.
Things I have tried so far:
I have tried the SQL example. I had to break some of the sql codes to separate create and insert statements to meet GTID standards but everything else follows the example. The issue I have with this is when it gets to the clustering part (after seemingly successfully running up to that point) and gives me the following error:
"dedupe.core.BlockingError: No records have been blocked together. Is the data you are trying to match like the data you trained on?"
No matter what I did, this was not fixed ( I am training and testing on same data exactly so this error does not make sense to me.)
For large scale gazetteer I have tried using this example to begin with, but this is the error I get:
"TypeError: train() takes at most 3 arguments (4 given)".
The only change I have made here is that I am connecting to a mysql db. Also, I cannot find any guidance on how to actually scale all parts of gazetteer matching (or just do not understand how this example is helping with that).
Has anyone been able to actually scale these to large data using mysql?
Please let me know if I need to provide more info or code snippets.
Thanks in advance.

Body could not be parsed as valid XML/AMF/JSON in Flash builder AMF and MySql

I have search the net and am un able to resolve this issue
Due to my weak programming skills I do panic and wonder perhaps im just doing it wrong obviously lol
Just wondered if anyone could give me some insight to work out my issue!
i have a Flash Builder 4.5 web site connecting with AMF to MySql database
I can query the database as well as delete, update, search and i have even got pagination working!
But when it comes to inserting a row of data I get the above error message
Now every thing works even when I test the php script in flash builder Test Operation
So I just need someone to tell me can I send an ValueObject to Mysql or do i need to convert it into something else?
As im sending it as the object but its only inserting the first 2 values and the other 8 are missing and i get the above error in Network Monitor
On searching this issue most people that ask this question and don't get an answer.
The error is displayed in the response of Network Monitor so is the a php error or mysql?
OK I have solved the problem. as in I still get the error but I think I know why but it all works now so I'm happy with that :)
and the reason I was getting the error was for some reason I didn't think that it mattered with variable name consistence through the different programming types, I just assumed that the compiler worked it all out by magic lol.
So in flex I had Country and in "Flash builder Test Operation" I had Country and on my mysql database I had CountryCode. The reason I think I still get the error is because there are still cells within the newly created row that are left NULL as these will be updated later :) hope my silly mistake that cost me many days will helps some one :)