catena icon indicating copy to clipboard operation
catena copied to clipboard

Support column aliases ('AS' syntax)

Open pixelspark opened this issue 8 years ago • 1 comments

Allow renaming of columns:

SELECT expr AS foo;

This should work properly with column name verification (#88). It should also not be possible to create duplicate column names.

pixelspark avatar Nov 14 '17 07:11 pixelspark

Should also ensure these aliases show up correctly in PQ headers, through here: https://github.com/pixelspark/catena/blob/1a1eebd482f74bb53076d2d7d21b36f0c5618024/Sources/CatenaSQL/SQLBlock.swift#L500

pixelspark avatar Nov 23 '17 19:11 pixelspark