Hi Irene,

With that explanation, the performance makes sense.  This is certainly an
edge case.  Unfortunately the spreadsheets are provided by a large
automation vendor and are a standard part of their documentation.  IMHO,
it's rather irresponsible to publish them without proper column headers but
that's just me.

I'll find a way to pre-process them using other applications that replace
missing column headers with a placeholder (KNIME Is the best candidate).

Tim

On Tue, Aug 4, 2020 at 5:18 PM Irene Polikoff <ir...@topquadrant.com> wrote:

> If you are using ‘Semantic Tables’ importer in TBC, it will always look
> for some value in each column of the first row and will use it as the
> column name.
>
> If it does not find values in the first row,  then it will try to find the
> next available row with all values. This is to accommodate situations where
> a first row(s) may be empty. It will not try to generate a column name
> (e.g., Column B) if none exist.
>
> Spreadsheet importers in EDG use the same approach.
>
> With your example, I see that the importer could get confused. We have not
> anticipated input like this.
>
> On Aug 4, 2020, at 2:52 PM, Tim Smith <smith.ts...@gmail.com> wrote:
>
> Hi,
> I'm trying to import numerous spreadsheets where some of the columns have
> no header.  In this situation, the importer incorrectly uses the first
> value in the column as the header/property or, more severely, it just skips
> the header row entirely and uses the first non-null value in each  column
> as the property.  Sometimes it does a combination of the two.  Below I
> describe an example.  I would expect the importer to either skip or assign
> a name to a column with no header.
>
> Any suggestions?  I have dozens of spreadsheets to import that all have
> one or more columns with no headers on multiple sheets.
>
> Tim
>
> Using the attached spreadsheet, please open it in TBC 6.4.
>
> The first sheet has five columns where column B and D have no header.
> <image.png>
>
> Look at the Row0-0 instance and you will see that the values "B2" and "D2"
> have been used as column headers/properties.
>
> <image.png>
>
> Now look at the Row1-0 instance.  It is a complete disaster.  Note
> essentially the entire first data row was used as headers and in the case
> of the *Alias For* column, the importer skipped the header and picked the
> value in Row 3 to become the property for the column.  I've never seen this
> behavior before.
>
> <image.png>
>
> <image.png>
>
> And finally... look at the Row2-0 instance.  This is from the third sheet
> in the workbook where I have manually populated the empty column headers
> found in the last example above.  It appears to work as expected.
> <image.png>
>
> <image.png>
>
> --
> You received this message because you are subscribed to the Google Groups
> "TopBraid Suite Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to topbraid-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/topbraid-users/CAF0Wbn%2BvLfxnhN-TqVrWdeWiZZB1kN81_MytdEa5ObpiZ1ytSg%40mail.gmail.com
> <https://groups.google.com/d/msgid/topbraid-users/CAF0Wbn%2BvLfxnhN-TqVrWdeWiZZB1kN81_MytdEa5ObpiZ1ytSg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> <Spreadsheet Import Test - TBC 6.4.xlsx>
>
> --
> You received this message because you are subscribed to the Google Groups
> "TopBraid Suite Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to topbraid-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/topbraid-users/BDBA4B89-0E74-476C-82EE-D2AC582FCCD1%40topquadrant.com
> <https://groups.google.com/d/msgid/topbraid-users/BDBA4B89-0E74-476C-82EE-D2AC582FCCD1%40topquadrant.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/CAF0WbnK0%2Bioc7f%3Dua13bH3u7ueKOXaB4sE7SKHNX%3DyiwzveO_Q%40mail.gmail.com.

Reply via email to