function testIndexJoin_EntireTables() {
  var tableARelation = lf.proc.Relation.fromRows(tableARows, [ta.getName()]);
  var tableBRelation = lf.proc.Relation.fromRows(tableBRows, [tb.getName()]);

  return goog.Promise.all([
    // First calculate index join using the index of TableA's index.
    checkIndexJoin(tableARelation, tableBRelation, ta['id'].eq(tb['id'])),
    // Then calculate index join using the index of TableB's index.
    checkIndexJoin(tableARelation, tableBRelation, tb['id'].eq(ta['id']))
  ]);
}
Tests index join for the case where the entire tableA and tabelB contents are
joined.
@return {!IThenable}