-
Notifications
You must be signed in to change notification settings - Fork 94
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
Facing issue while using db #36
Comments
Database explorer dispatch was not working because dispatch was called on the base class. To be able to cleanly use derived class dispatch, Sqlite and other databases had to to be separated. So sqlite is a top level option instead of being clubbed under 'db' Sqlite tests were enabled and dispatch tests were fixed to reproduce the bug. Fix tokern#36
I've released a new version v0.6.2. One major change is that I had to split sqlite to keep the command line clean. Refer below. I'll work on revamping docs. Please follow #38
|
@vrajat Getting this error after v0.6.2. files also not working now |
Can you check after running |
More info: #29 (comment) |
OK. By default it only lists columns that has PII. You can list all columns using Shallow checks names of columns only. It looks for column names like name, email etc using regular expressions from https://github.com/madisonmay/CommonRegex. Do you have columns with these names ? Another option is to also check data using |
Piicatcher should definitely detect these columns. I dont see anything wrong. Can you run this SQL query:
|
Yes. data_type is null or empty. That is unexpected. I get
What was your CREATE TABLE statement ? My guess is that you did not specify a type. I can reproduce with:
Can you recreate the table with data types ? For example:
|
I have script like this which has datatypes: CREATE TABLE IF NOT EXISTS [userdata] ( |
I get the data type for that table.
Which version of sqlite do you have ? I have:
|
V 3.30.1.0 |
OK. Then I am at a loss why data type is not returned for you. |
Great!
…On Thu, 19 Dec 2019 at 17:02, jayeshagwan1 ***@***.***> wrote:
My bad.... Now its working.. Thanks a lot...
[image: image]
<https://user-images.githubusercontent.com/616970/71170446-4c08eb80-2281-11ea-8d64-31b9a799be74.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#36?email_source=notifications&email_token=AAMP7GVEWAHYA7KNOXMJ6XTQZNLUDA5CNFSM4J42D222YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHJKKDA#issuecomment-567452940>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMP7GULEXE75IKEIK2LHCTQZNLUDANCNFSM4J42D22Q>
.
|
I have tested piicatcher on different file formats like json, plaintext, xml, csv but does not work with xlsx, xlx |
It does not support binary formats like xlsx, xls and PDF yet. Can you file a new feature request ? |
Sure ... |
I've released a new version. Thanks for all the bug reports! Please open a new issue for future problems. |
I am using below command for sqlite db:
piicatcher db -s '/db/data' -t sqlite --scan-type shallow
where '/db/' is the path for data.sqlite file.
I am not sure what I am doing wrong. Getting below error.
If any detailed instructions are provided for db instances, it would help.
Thanks
The text was updated successfully, but these errors were encountered: