• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

georgia-tech-db / eva / #788

18 Sep 2023 07:27AM UTC coverage: 67.606% (-12.5%) from 80.067%
#788

push

circle-ci

xzdandy
Add intergration test

8089 of 11965 relevant lines covered (67.61%)

0.68 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.67
/evadb/plan_nodes/nested_loop_join_plan.py
1
# coding=utf-8
2
# Copyright 2018-2023 EvaDB
3
#
4
# Licensed under the Apache License, Version 2.0 (the "License");
5
# you may not use this file except in compliance with the License.
6
# You may obtain a copy of the License at
7
#
8
#     http://www.apache.org/licenses/LICENSE-2.0
9
#
10
# Unless required by applicable law or agreed to in writing, software
11
# distributed under the License is distributed on an "AS IS" BASIS,
12
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
# See the License for the specific language governing permissions and
14
# limitations under the License.
15

16
from evadb.expression.abstract_expression import AbstractExpression
1✔
17
from evadb.parser.types import JoinType
1✔
18
from evadb.plan_nodes.abstract_join_plan import AbstractJoin
1✔
19
from evadb.plan_nodes.types import PlanOprType
1✔
20

21

22
class NestedLoopJoinPlan(AbstractJoin):
1✔
23
    """
24
    This plan is used for storing information required for a nested loop join.
25
    """
26

27
    def __init__(self, join_type: JoinType, join_predicate: AbstractExpression = None):
1✔
28
        self._join_predicate = join_predicate
×
29
        super().__init__(PlanOprType.NESTED_LOOP_JOIN, join_type, join_predicate)
×
30

31
    @property
1✔
32
    def join_predicate(self):
1✔
33
        return self._join_predicate
×
34

35
    def __str__(self):
1✔
36
        return "NestedLoopJoinPlan(join_type={}, \
×
37
            predicate={})".format(
38
            self.join_type, self.join_predicate
39
        )
40

41
    def __hash__(self) -> int:
1✔
42
        return hash((super().__hash__(), self.join_type, self.join_predicate))
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc