Skip to content

Import running drivers rowset into SQL Nexus and possibly add a report#461

Merged
PiJoCoder merged 9 commits intomasterfrom
running_drivers_rowset_pijocoder_110425
Nov 19, 2025
Merged

Import running drivers rowset into SQL Nexus and possibly add a report#461
PiJoCoder merged 9 commits intomasterfrom
running_drivers_rowset_pijocoder_110425

Conversation

@PiJoCoder
Copy link
Collaborator

@PiJoCoder PiJoCoder commented Nov 5, 2025

Driver report should look like this:
image
image

@PiJoCoder PiJoCoder changed the title Import running drivers rowset into SQL Nexus Import running drivers rowset into SQL Nexus and possibly add a report Nov 5, 2025
<Column name="File_Description" type="RowsetImportEngine.VarCharColumn" length="50" />
<Column name="Product_Version" type="RowsetImportEngine.VarCharColumn" length="20" />
<Column name="File_Version" type="RowsetImportEngine.VarCharColumn" length="25" />
<Column name="File_Size_MB" type="RowsetImportEngine.DecimalColumn"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we have numbers with commas as decimal separator, we have this issue. If replace commas by points, then it works

@microsoft microsoft deleted a comment from asavioliMSFT Nov 14, 2025
@hacitandogan
Copy link
Contributor

Based on our previous tests and work on this we were thinking Logscout data is always using "." (dot) as decimal separator and differentiation is coming on SQLNexus side depending on the local settings but looks like that is not entirely true. (And our ConvertFromInvariantString approach is not valid for this )

This data contains "," (comma) as decimal separator , depending on type we used System.ComponentModel.DecimalConverter or System.ComponentModel.DoubleConverter isValid method is returning false hence we are not even trying to convert and returning null.

I changed this logic and tests are successful, sending this for your review and tests.

@PiJoCoder
Copy link
Collaborator Author

PiJoCoder commented Nov 18, 2025

Based on our previous tests and work on this we were thinking Logscout data is always using "." (dot) as decimal separator and differentiation is coming on SQLNexus side depending on the local settings but looks like that is not entirely true. (And our ConvertFromInvariantString approach is not valid for this )

This data contains "," (comma) as decimal separator , depending on type we used System.ComponentModel.DecimalConverter or System.ComponentModel.DoubleConverter isValid method is returning false hence we are not even trying to convert and returning null.

I changed this logic and tests are successful, sending this for your review and tests.

That's great! Thanks

@asavioliMSFT , can you please re-test with this build after the changes Haci made

Copy link
Contributor

@asavioliMSFT asavioliMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved

image

@PiJoCoder
Copy link
Collaborator Author

I also tested by purposely changing the decimal separator to comma and imported. Looks good

image image

@PiJoCoder PiJoCoder merged commit 1337e47 into master Nov 19, 2025
3 checks passed
@PiJoCoder PiJoCoder deleted the running_drivers_rowset_pijocoder_110425 branch November 19, 2025 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants