question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ignore unsupported columns

See original GitHub issue

While trying to run against a project I get the following error:

Facil : error : System.Exception: Error getting table DTOs
 ---> System.Exception: Unknown SQL system type ID: 240
   at Microsoft.FSharp.Core.PrintfModule.PrintFormatToStringThenFail@1433.Invoke(String message) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\printf.fs:line 1433
   at Facil.Db.typeInfo@496-18.Invoke(Unit unitVar0) in C:\Dev\Facil\src\Facil.Generator\Db.fs:line 496
   at Facil.Db.getTableDtos(FSharpMap`2 sysTypeIdLookup, SqlConnection conn) in C:\Dev\Facil\src\Facil.Generator\Db.fs:line 490
   --- End of inner exception stack trace ---
   at Facil.Db.getTableDtos(FSharpMap`2 sysTypeIdLookup, SqlConnection conn) in C:\Dev\Facil\src\Facil.Generator\Db.fs:line 527
   at Facil.Db.getEverything(RuleSet cfg, String fullYamlPath, FSharpList`1 scriptsWithoutParamsOrResultSetsOrTempTables, SqlConnection conn) in C:\Dev\Facil\src\Facil.Generator\Db.fs:line 694
   at Facil.Program.regenerate@82.Invoke(Unit unitVar0) in C:\Dev\Facil\src\Facil.Generator\Program.fs:line 90
   at Facil.Program.main(String[] argv) in C:\Dev\Facil\src\Facil.Generator\Program.fs:line 125

I have a feeling it’s the sql spatial type, this project uses the geography::Point type.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
cmeerencommented, Jan 4, 2021

Thanks, I’ll add a test and publish a new version.

1reaction
cmeerencommented, Dec 23, 2020

I see. I think I’ll ignore unsupported output columns with a warning, and add the capability to configure ignored columns in order to silence the warning. Will likely be a couple of days until I can implement this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Specify 'lenient: true' in your resource generation options to ...
I am fine with ignoring unsupported columns (in my case: crtime_t), but how should I specify lenient as true in resource generation options?...
Read more >
Ignore unsupported fields in parquet dataset · Issue #685
Hi, We're using petastorm to feed tensorflow. Our parquet schema looks like this root |-- some_str: string (nullable = true) |-- some_map: ...
Read more >
How should an API handle unsupported fields?
6 Answers. Whether the API rejects or ignores unsupported fields is a concern for the documentation used by consumers. Pick one, and then ......
Read more >
How to avoid SPARSE Columns for proper replication - ...
Solved: Hello, I still have an error: "Table 'XY' contains unsupported sparse columns and will therefore be ignored.
Read more >
Power BI - Disable Refresh of Local and Unsupported Data ...
Hey guys! Parker here. In this Power BI tutorial, I'm going to demonstrate how to hard code your data that doesn't need to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found