fsprojects / ExcelProvider

This library is for the .NET platform implementing a Excel type provider.
http://fsprojects.github.io/ExcelProvider/
The Unlicense
141 stars 51 forks source link

Allow do define custom schema for column types #40

Closed Horusiath closed 6 years ago

Horusiath commented 7 years ago

It looks like at the current state ExcelProvider<> supports a very limited set of data types, namely float, bool, DateTime (which sometimes is not recognized correctly) and string.

This issue brings two things:

  1. Support more types, at least double, decimal, int, int64 and options. Excels are often used in fields, where float precision is far to weak.
  2. Idea borrowed from a CsvProvider, which allows to define additional Schema property where types of columns can be specified manually (I found some cases where Date column is treated as float). It doesn't have to be as advanced as in CsvProvider, but something like date,string, string, int option, decimal would be a great relief.
dsyme commented 6 years ago

Duplicate of #57