I think I've found a bug related to resultMaps and SQL that include "as" aliases. I've created a PR with tests that expose the problem. Please see that PR for details. I think the bug was created with #895, but I'm not sure.
MyBatis version
Broken starting with 3.4.3.
Database vendor and version
N/A
Test case or example project, Steps to reproduce, Expected result, Actual result
See #1100