Closed weaverba137 closed 4 years ago
I'm not sure from where the 2018 comment is derived, but FITS2DB doesn't currently have the ability to type-order the columns. The random_id and serial_id options simply append columns to each row of the table. A type-ordering option is planned but would require a major refactoring of the code and isn't a priority at the moment.
According to some notes from summer 2018, "When
fits2db
adds therandom_id
column, it does not obey the ordering of the FITS file or the SQL file." Given thatfits2db
has knowledge of both the FITS file and the SQL table, it seems like it should be possible to perform this ordering. This is probably particularly important for loading in binary mode.